summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-12-19 19:13:22 +0100
committerDmitry Kozlov <xeb@mail.ru>2018-12-20 06:21:38 +0300
commit2910add2238d419ad82e43f3ebf1fb8d5708e13b (patch)
tree15e5bd80b7aded33c1f44827ebe77a79b2a7f105 /README
parent46f5f9c1aa42b8cbd1764cc1b4e4a8abcd3e9fdb (diff)
downloadaccel-ppp-2910add2238d419ad82e43f3ebf1fb8d5708e13b.tar.gz
accel-ppp-2910add2238d419ad82e43f3ebf1fb8d5708e13b.zip
ipoe: stricter route deletion
Rework the conditionals to make __ipoe_session_activate() and ipoe_session_finished() follow the same logic: * Drop the second '!serv->opt_ifcfg' test in __ipoe_session_activate(), which is is already checked by the parent conditional. * Invert the order of the tests in ipoe_session_finished(), so that it uses the same conditions as __ipoe_session_activate(). Finally, set the 'src' parameter in iproute_del(), so that we can be sure that the deleted route matches the one added by __ipoe_session_activate(). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions