Date: Wed, 10 Mar 1999 22:51:36 -0800 (PST) From: cpiazza@home.net To: FreeBSD-gnats-submit@freebsd.org Subject: bin/10538: sbin/nos-tun gives wrong usage message Message-ID: <199903110651.WAA00628@norn.ca.eu.org>
index | next in thread | raw e-mail
>Number: 10538
>Category: bin
>Synopsis: sbin/nos-tun gives wrong usage message
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 10 23:00:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Chris Piazza
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
n/a
>Environment:
FreeBSD norn.ca.eu.org 4.0-CURRENT FreeBSD 4.0-CURRENT #74: Wed Mar 10 19:51:50 PST 1999 norn@norn.ca.eu.org:/usr/src/sys/compile/NORN i386
>Description:
(sources updated Mar 10/99)
no-brainer ;^)
nos-tun when called with no options gives the message:
norn@norn (~)> nos-tun
usage: nos_tun -t <tun_name> -s <source_addr> -d <dest_addr> <target_addr>
which should be nos-tun -t [...]
>How-To-Repeat:
>Fix:
*** sbin/nos-tun/nos-tun.c.orig Wed Mar 10 22:40:40 1999
--- sbin/nos-tun/nos-tun.c Wed Mar 10 22:40:49 1999
***************
*** 348,354 ****
usage()
{
fprintf(stderr,
! "usage: nos_tun -t <tun_name> -s <source_addr> -d <dest_addr> <target_addr>\n");
exit(1);
}
--- 348,354 ----
usage()
{
fprintf(stderr,
! "usage: nos-tun -t <tun_name> -s <source_addr> -d <dest_addr> <target_addr>\n");
exit(1);
}
-Chris
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903110651.WAA00628>
