From 95ea7bdff19dbb6770bc88ea0d554c35ed89a08c Mon Sep 17 00:00:00 2001 From: bg- Date: Wed, 4 Apr 2007 11:54:45 +0000 Subject: [PATCH] * Different ifconfig command under fbsd. --- tools/tunslip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tunslip.c b/tools/tunslip.c index 5955cb7bf..d76586fef 100644 --- a/tools/tunslip.c +++ b/tools/tunslip.c @@ -28,7 +28,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: tunslip.c,v 1.10 2007/02/02 13:26:49 bg- Exp $ + * $Id: tunslip.c,v 1.11 2007/04/04 11:54:45 bg- Exp $ * */ @@ -842,7 +842,7 @@ ifconf(const char *tundev, const char *ipaddr, const char *netmask) #ifdef mac_something ssystem("ifconfig %s inet `hostname` %s up", tundev, ipaddr); #else - ssystem("ifconfig %s inet up", tundev); + ssystem("ifconfig %s inet `hostname` %s up", tundev, ipaddr); #endif if (strcmp(ipaddr, "0.0.0.0") != 0) ssystem("route add -net %s -netmask %s -interface %s",