load_tunnel: reset scccn
If we later turn master, we want scccn already reset like when clearing a tunnel.
This commit is contained in:
parent
e801ce0c4f
commit
e701644d37
1 changed files with 1 additions and 0 deletions
1
l2tpns.c
1
l2tpns.c
|
|
@ -7745,6 +7745,7 @@ int load_tunnel(tunnelidt t, tunnelt *new)
|
|||
ip_changed = 1;
|
||||
|
||||
memcpy(&tunnel[t], new, sizeof(tunnel[t]) );
|
||||
tunn_local[t].scccn = -1;
|
||||
|
||||
//
|
||||
// Clear tunnel control messages. These are dynamically allocated.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue