From 56e6860d27306bcbe35b3a14f360d0f52b5940b5 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Sat, 15 Apr 2000 11:39:52 +0000 Subject: [PATCH] fix the bug in non-demand mode that I inadvertently introduced --- pppd/sys-linux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 9208fdc..676839b 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -415,6 +415,8 @@ int establish_ppp (int tty_fd) warn("Couldn't set /dev/ppp (channel) to nonblock: %m"); set_ppp_fd(fd); + if (!looped) + ifunit = -1; if (!looped && !multilink) { /* * Create a new PPP unit. -- 2.39.2