diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2007-06-06 15:14:50 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2007-06-06 15:14:50 +0000 |
commit | c22f5e4243f80337cc5b0d73449cc61db1e5508a (patch) | |
tree | 9f8fe9977c45d010817dfd80ae85a2037561eb1c /bin/systrace | |
parent | b7bc7c3ed7b50981322c63854792bf085914ceb4 (diff) |
don;t try to handle obsolete protocols, print functions so cosmetics only
ok otto ray
Diffstat (limited to 'bin/systrace')
-rw-r--r-- | bin/systrace/linux-translate.c | 3 | ||||
-rw-r--r-- | bin/systrace/systrace-translate.c | 11 |
2 files changed, 1 insertions, 13 deletions
diff --git a/bin/systrace/linux-translate.c b/bin/systrace/linux-translate.c index c3d0af75cc9..7c96c55de4d 100644 --- a/bin/systrace/linux-translate.c +++ b/bin/systrace/linux-translate.c @@ -175,9 +175,6 @@ print_sockdom(char *buf, size_t buflen, struct intercept_translate *tl) case LINUX_AF_INET6: what = "AF_INET6"; break; - case LINUX_AF_IPX: - what = "AF_IPX"; - break; default: snprintf(buf, buflen, "AF_UNKNOWN(%d)", domain); break; diff --git a/bin/systrace/systrace-translate.c b/bin/systrace/systrace-translate.c index e965ec49adf..24c6296e9cc 100644 --- a/bin/systrace/systrace-translate.c +++ b/bin/systrace/systrace-translate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace-translate.c,v 1.21 2006/07/02 12:34:15 sturm Exp $ */ +/* $OpenBSD: systrace-translate.c,v 1.22 2007/06/06 15:14:49 henning Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -193,15 +193,6 @@ print_sockdom(char *buf, size_t buflen, struct intercept_translate *tl) case AF_INET6: what = "AF_INET6"; break; - case AF_IPX: - what = "AF_IPX"; - break; - case AF_ISO: - what = "AF_ISO"; - break; - case AF_NS: - what = "AF_NS"; - break; case AF_IMPLINK: what = "AF_IMPLINK"; break; |