aboutsummaryrefslogtreecommitdiff
path: root/inet/test-ifaddrs.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-29 07:26:59 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-29 07:26:59 +0000
commite0c09a4362ef3d42b3301b6d916d0b9a8055731f (patch)
treed4a24e0c237cb2d356f37512b4233236838f1160 /inet/test-ifaddrs.c
parent129422e1e8a7494e8ed59e40948147124c4bbc9e (diff)
downloadglibc-e0c09a4362ef3d42b3301b6d916d0b9a8055731f.zip
glibc-e0c09a4362ef3d42b3301b6d916d0b9a8055731f.tar.gz
glibc-e0c09a4362ef3d42b3301b6d916d0b9a8055731f.tar.bz2
Update.
2003-03-28 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/ifaddrs.c: New file. * inet/test-ifaddrs.c: Allow AF_PACKET. * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_NETLINK_SUPPORT.
Diffstat (limited to 'inet/test-ifaddrs.c')
-rw-r--r--inet/test-ifaddrs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/inet/test-ifaddrs.c b/inet/test-ifaddrs.c
index 52cda73..5057fac 100644
--- a/inet/test-ifaddrs.c
+++ b/inet/test-ifaddrs.c
@@ -69,6 +69,10 @@ Name Flags Address Netmask Broadcast/Destination");
#endif
case AF_UNSPEC:
return "---";
+
+ case AF_PACKET:
+ return "<packet>";
+
default:
++failures;
printf ("sa_family=%d %08x\n", sa->sa_family,