summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-05-30 07:14:46 +0000
committerguenther <guenther@openbsd.org>2014-05-30 07:14:46 +0000
commit767e31d8d609eb1482ba5e9444ed85ebf158e7ec (patch)
tree95ba588615cb88ca70f45ff7feda41b8a61f64f6 /usr.bin/fstat
parentmore: no need to null check before free; ok guenther (diff)
downloadwireguard-openbsd-767e31d8d609eb1482ba5e9444ed85ebf158e7ec.tar.xz
wireguard-openbsd-767e31d8d609eb1482ba5e9444ed85ebf158e7ec.zip
AF_NATM support was removed before 5.5
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r--usr.bin/fstat/fstat.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index b670af9e343..4de379fb4c8 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fstat.c,v 1.76 2013/10/22 16:40:27 guenther Exp $ */
+/* $OpenBSD: fstat.c,v 1.77 2014/05/30 07:14:46 guenther Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -796,12 +796,6 @@ socktrans(struct kinfo_file *kf)
printf(" %d ", kf->so_protocol);
hide((void *)(uintptr_t)kf->f_data);
break;
- case AF_NATM:
- /* print protocol number and socket address */
- printf("* natm %s", stype);
- printf(" %d ", kf->so_protocol);
- hide((void *)(uintptr_t)kf->f_data);
- break;
default:
/* print protocol number and socket address */
printf("* %d %s", kf->so_family, stype);