diff options
author | brian <brian@FreeBSD.org> | 1998-01-08 23:47:57 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-01-08 23:47:57 +0000 |
commit | b4fb282bcf051f473e169c96839ab02b41327baf (patch) | |
tree | 0dedfc5e0d1d57c385fe79d93e5d1afb0f28b3c7 /usr.sbin/ppp/main.c | |
parent | bcae2312afcaa3b4fd34daac5baa64dbb82f57c5 (diff) | |
download | FreeBSD-src-b4fb282bcf051f473e169c96839ab02b41327baf.zip FreeBSD-src-b4fb282bcf051f473e169c96839ab02b41327baf.tar.gz |
Zap any addresses on the network side of the `tun' as soon
as we've successfully opened the /dev side.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index f782e7f..d57d9bd 100644 --- a/usr.sbin/ppp/main.c +++ b/usr.sbin/ppp/main.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: main.c,v 1.114 1997/12/28 21:55:04 brian Exp $ + * $Id: main.c,v 1.115 1997/12/30 23:22:29 brian Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -428,6 +428,7 @@ main(int argc, char **argv) LogPrintf(LogWARN, "OpenTunnel: %s\n", strerror(errno)); return EX_START; } + CleanInterface(IfDevName); if (mode & MODE_INTER) fprintf(VarTerm, "Interactive mode\n"); else if ((mode & MODE_OUTGOING_DAEMON) && !(mode & MODE_DEDICATED)) |