]> git.ozlabs.org Git - ppp.git/commit
Specify the device name on the default route deletion
authorPaul Mackerras <paulus@samba.org>
Sun, 15 Nov 2009 06:08:20 +0000 (17:08 +1100)
committerPaul Mackerras <paulus@samba.org>
Sun, 15 Nov 2009 06:08:20 +0000 (17:08 +1100)
commit9856f47063c01096fe6649a21be9a021e42a45fe
tree3d7f24602a4441d89b817059208bcc288323af24
parent29bdd4bcc2f9e92f7d880d03240b49d2a25870f7
Specify the device name on the default route deletion

Some users have reported that pppd will delete a default route
through another device, for example if they bring up a ppp connection
with default route, then bring up an ethernet interface and set a
default route through that, then take down the ppp connection.

This fixes it, for Linux at least, by specifying the device name on
the default route deletion ioctl, which means that the kernel will
only delete default routes through that device.

Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/sys-linux.c