diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-06-09 06:45:18 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-06-09 06:45:18 +0000 |
commit | a5985e5a6a606a2ae773afb1c7e786987a2132fb (patch) | |
tree | 50b9db9e8f85e1930373b911927fa2804e5dfb14 /sbin | |
parent | ebe5f485e7faa10859889c9e9b2c7c88c4312d0c (diff) | |
download | FreeBSD-src-a5985e5a6a606a2ae773afb1c7e786987a2132fb.zip FreeBSD-src-a5985e5a6a606a2ae773afb1c7e786987a2132fb.tar.gz |
Fix occurences of nos_tun to nos-tun, this improves internal
consistency as well as an usage printout.
PR: 10538
Submitted by: piazza
Nudged by: nrahlstr
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/nos-tun/nos-tun.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/nos-tun/nos-tun.c b/sbin/nos-tun/nos-tun.c index 26e80d8..ceed05f 100644 --- a/sbin/nos-tun/nos-tun.c +++ b/sbin/nos-tun/nos-tun.c @@ -27,20 +27,20 @@ */ /* - * 'nos_tun' program configure tunN interface as a point-to-point + * 'nos-tun' program configure tunN interface as a point-to-point * connection with two "pseudo"-addresses between this host and * 'target'. * * It uses Ip-over-Ip incapsulation ( protocol number 94 - IPIP) * (known as NOS-incapsulation in CISCO-routers' terminology). * - * 'nos_tun' can works with itself and CISCO-routers. - * (It may also work with Linux 'nos_tun's, but + * 'nos-tun' can works with itself and CISCO-routers. + * (It may also work with Linux 'nos-tun's, but * I have no Linux system here to test with). * * BUGS (or features ?): * - you must specify ONE of the target host's addresses - * ( nos_tun sends and accepts packets only to/from this + * ( nos-tun sends and accepts packets only to/from this * address ) * - there can be only ONE tunnel between two hosts, * more precisely - between given host and (one of) @@ -285,7 +285,7 @@ int main (int argc, char **argv) target = *argv; /* Establish logging through 'syslog' */ - openlog("nos_tun", LOG_PID, LOG_DAEMON); + openlog("nos-tun", LOG_PID, LOG_DAEMON); if(Set_address(point_to, (struct sockaddr_in *)&t_laddr)) { closelog(); @@ -365,7 +365,7 @@ static void usage() { fprintf(stderr, -"usage: nos_tun -t <tun_name> -s <source_addr> -d <dest_addr> -p <protocol_number> <target_addr>\n"); +"usage: nos-tun -t <tun_name> -s <source_addr> -d <dest_addr> -p <protocol_number> <target_addr>\n"); exit(1); } |