From 79cdaf8ce5a089eec79f787d8f9b57fd711bd307 Mon Sep 17 00:00:00 2001 From: maxim Date: Sun, 15 Dec 2002 10:23:02 +0000 Subject: [PATCH] o s/if_name[16]/if_name[IFNAMSIZ]/ Reviewed by: luigi MFC after: 1 week --- sys/netinet/ip_dummynet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h index 79c607dd4175..6b6d006ea97f 100644 --- a/sys/netinet/ip_dummynet.h +++ b/sys/netinet/ip_dummynet.h @@ -345,7 +345,7 @@ struct dn_pipe { /* a pipe */ * When the tx clock come from an interface (if_name[0] != '\0'), its name * is stored below, whereas the ifp is filled when the rule is configured. */ - char if_name[16]; + char if_name[IFNAMSIZ]; struct ifnet *ifp ; int ready ; /* set if ifp != NULL and we got a signal from it */