Date: Tue, 10 Jul 2007 08:41:05 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Matus Harvan <mharvan@FreeBSD.org> Cc: Perforce Change Reviews <perforce@FreeBSD.org> Subject: Re: PERFORCE change 123260 for review Message-ID: <4693A891.90601@gmail.com> In-Reply-To: <200707100940.l6A9el1D040230@repoman.freebsd.org> References: <200707100940.l6A9el1D040230@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Matus Harvan wrote: > http://perforce.freebsd.org/chv.cgi?CH=123260 > > Change 123260 by mharvan@mharvan_twoflower on 2007/07/10 09:39:53 > > use #ifdef to run the proper ifconfig commands on FreeBSD and Linux > > Affected files ... > > .. //depot/projects/soc2007/mharvan-mtund/mtund.src/tunneld.c#7 edit > > Differences ... > > ==== //depot/projects/soc2007/mharvan-mtund/mtund.src/tunneld.c#7 (text+ko) ==== > > @@ -418,13 +418,19 @@ > > /* setup the tun interface */ > if (server) { > - system("ifconfig tun0 mtu 1400 192.168.0.1 192.168.0.2"); > + #ifdef __FreeBSD__ > + ssystem("ifconfig tun0 mtu 1400 192.168.0.1 192.168.0.2"); > + #endif > + > } else { > /* FeeBSD */ > I believe that comment's a typo. Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4693A891.90601>