projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
733fc0b
)
Fixing of the Endpoint-Discriminator has a unique value.
author
fendo
<fendo@bi12info.com>
Wed, 5 Jun 2013 15:00:52 +0000
(17:00 +0200)
committer
fendo
<fendo@bi12info.com>
Wed, 5 Jun 2013 15:00:52 +0000
(17:00 +0200)
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
c41b502
..
ec224bd
100644
(file)
--- a/
l2tpns.c
+++ b/
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
sess_local[s].mp_mrru = 1614;
// Set multilink options before sending initial LCP packet
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);
change_state(s, lcp, RequestSent);
sendlcp(s, t);
change_state(s, lcp, RequestSent);