diff options
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index cfaaec40..3296bd31 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -916,7 +916,7 @@ static void __ipoe_session_activate(struct ipoe_session *ses) ses->ses.ipv6 = ipdb_get_ipv6(&ses->ses); if (!ses->ses.ipv6) log_ppp_warn("ipoe: no free IPv6 address\n"); - if (!ses->ses.ipv6->peer_intf_id) + else if (!ses->ses.ipv6->peer_intf_id) ses->ses.ipv6->peer_intf_id = htobe64(1); } |