summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-06-21 15:39:40 +0000
committerbrian <brian@FreeBSD.org>2001-06-21 15:39:40 +0000
commit3016eeef9e1255c1131a13730d2b5ddc0d5e45db (patch)
treef2eb7c812add1d658212b98806dae9be39f63fdd /usr.sbin
parent63b1933358985cc8aee9dd34e5d5a096f9c10d0b (diff)
downloadFreeBSD-src-3016eeef9e1255c1131a13730d2b5ddc0d5e45db.zip
FreeBSD-src-3016eeef9e1255c1131a13730d2b5ddc0d5e45db.tar.gz
Explicitly add a default route in ppp's install profile
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sysinstall/network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/network.c b/usr.sbin/sysinstall/network.c
index a48b066..a535a40 100644
--- a/usr.sbin/sysinstall/network.c
+++ b/usr.sbin/sysinstall/network.c
@@ -282,6 +282,7 @@ startPPP(Device *devp)
fprintf(fp, " set speed %s\n", speed);
fprintf(fp, " set device %s\n", devp->devname);
fprintf(fp, " set ifaddr %s %s 255.255.255.0 0.0.0.0\n", myaddr, provider);
+ fprintf(fp, " add! default HISADDR\n");
fprintf(fp, " set timeout 0\n");
fprintf(fp, " enable dns\n");
fprintf(fp, " set log local phase\n");
OpenPOWER on IntegriCloud