Date: Mon, 1 Oct 2001 17:19:06 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: "Gary W. Swearingen" <swear@blarg.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Diff between "route" command's -iface and -interface options. Message-ID: <20011001171906.A57416@sunbay.com> In-Reply-To: <nsofnsgvbv.fns@localhost.localdomain>; from swear@blarg.net on Sun, Sep 30, 2001 at 03:36:20PM -0700 References: <nsofnsgvbv.fns@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 30, 2001 at 03:36:20PM -0700, Gary W. Swearingen wrote: > Anbody familiar with the "route" command's -iface and -interface > options? The man page is rather sketchy about -interface or the > difference bewteen the two. /usr/43src/sbin/route/route.c has the > following possibly-relevant code. I can't find where the constants are > defined. > > case K_IFACE: > case K_INTERFACE: > iflag++; > break; > > Can anyone improve my confidence that these options do the same thing? > They are synonyms, and also have a side effect on accepting "gateway" argument in the "interface" address format. The constants are defined in generated keywords.h. > I'll write a PR to clarify the man page, but I hate to rely on my poor > C code literacy. Or should I track down a recent route.c committer? > Yes, please. You just hit him. :-) Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011001171906.A57416>