diff options
author | charnier <charnier@FreeBSD.org> | 2002-10-16 15:56:13 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-10-16 15:56:13 +0000 |
commit | a497fb34ea0502c7d33d9f560b6784951f33fe56 (patch) | |
tree | f2d2c175d1df137ee7125217af52e228285416c5 /usr.sbin/keyadmin | |
parent | f44a1f44084d67c1105080446a78c8a4bf4a8810 (diff) | |
download | FreeBSD-src-a497fb34ea0502c7d33d9f560b6784951f33fe56.zip FreeBSD-src-a497fb34ea0502c7d33d9f560b6784951f33fe56.tar.gz |
Arrange to not have /* inside a comment. Typo fix.
Diffstat (limited to 'usr.sbin/keyadmin')
-rw-r--r-- | usr.sbin/keyadmin/keyadmin.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/keyadmin/keyadmin.c b/usr.sbin/keyadmin/keyadmin.c index 1bbd3b8..d34c60d 100644 --- a/usr.sbin/keyadmin/keyadmin.c +++ b/usr.sbin/keyadmin/keyadmin.c @@ -75,6 +75,9 @@ Research Laboratory (NRL). * $ANA: keyadmin.c,v 1.2 1996/06/13 19:42:40 wollman Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> @@ -221,7 +224,7 @@ struct nametonum encralgorithms[] = { * These numbers should be defined in a header file somewhere * and shared with the consuming programs, once someone has * actually written the support in those programs (rspvd, - * gated, and routed). Probably <protocols/*>...? + * gated, and routed). Probably <protocols/...>...? */ #define RSVP_AUTHTYPE_MD5 1 /* XXX */ struct nametonum rsvpalgorithms[] = { @@ -825,7 +828,7 @@ void printkeymsg(kmp, kdp) printf("type=%d(%s) ",kmp->type, parsenumtoname(keytypes, kmp->type)); printf("spi=%u ", kmp->spi); - printf("alogrithm=%u(%s) ", kmp->algorithm, + printf("algorithm=%u(%s) ", kmp->algorithm, parsenumtoname(algorithmtabs[parsenumtoflag(keytypes, kmp->type)], kmp->algorithm)); printf("state=0x%x ",kmp->state); |