diff options
author | 2007-06-06 15:14:49 +0000 | |
---|---|---|
committer | 2007-06-06 15:14:49 +0000 | |
commit | 1211e6a3f7623acb797d7b37fa0b3e3badecbe05 (patch) | |
tree | 898865930b9fbcd56b1b0deb5b5faa8afea29697 | |
parent | remove an unused typedef. (diff) | |
download | wireguard-openbsd-1211e6a3f7623acb797d7b37fa0b3e3badecbe05.tar.xz wireguard-openbsd-1211e6a3f7623acb797d7b37fa0b3e3badecbe05.zip |
don;t try to handle obsolete protocols, print functions so cosmetics only
ok otto ray
-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; |