Fixing of the Endpoint-Discriminator has a unique value.
This commit is contained in:
parent
733fc0b1a2
commit
959cce2660
1 changed files with 1 additions and 1 deletions
2
l2tpns.c
2
l2tpns.c
|
|
@ -3218,7 +3218,7 @@ void processudp(uint8_t *buf, int len, struct sockaddr_in *addr, uint16_t indexu
|
||||||
|
|
||||||
// Set multilink options before sending initial LCP packet
|
// Set multilink options before sending initial LCP packet
|
||||||
sess_local[s].mp_mrru = 1614;
|
sess_local[s].mp_mrru = 1614;
|
||||||
sess_local[s].mp_epdis = ntohl(config->iftun_n_address[tunnel[t].indexudp] ? config->iftun_n_address[tunnel[t].indexudp] : my_address);
|
sess_local[s].mp_epdis = ntohl(config->iftun_address ? config->iftun_address : my_address);
|
||||||
|
|
||||||
sendlcp(s, t);
|
sendlcp(s, t);
|
||||||
change_state(s, lcp, RequestSent);
|
change_state(s, lcp, RequestSent);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue