From 3548f9343a659c6a0f90901e7da72539db78cf0e Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 26 May 1995 21:37:53 +0000 Subject: Don't add the default route in ppp - we'll only add it again later. --- release/sysinstall/tcpip.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'release/sysinstall/tcpip.c') diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c index e6f7f49..c3cb206 100644 --- a/release/sysinstall/tcpip.c +++ b/release/sysinstall/tcpip.c @@ -1,5 +1,5 @@ /* - * $Id: tcpip.c,v 1.18 1995/05/26 20:31:01 jkh Exp $ + * $Id: tcpip.c,v 1.19 1995/05/26 21:16:02 jkh Exp $ * * Copyright (c) 1995 * Gary J Palmer. All rights reserved. @@ -503,12 +503,6 @@ tcpStartPPP(Device *devp) else strcpy(myaddr, "0"); fprintf(fp, " set ifaddr %s %s\n", myaddr, val); - if (devp->private && ((DevInfo *)devp->private)->netmask[0]) - strcpy(netmask, ((DevInfo *)devp->private)->netmask); - else - strcpy(netmask, "255.255.255.240"); - if (strcmp(val, "0")) - fprintf(fp, "add 0 %s %s\n", netmask, val); fclose(fp); if (!fork()) { dup2(fd, 0); -- cgit v1.1