summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/ntp/lib/isc/unix/ifiter_ioctl.c2
-rw-r--r--sys/net/if.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ntp/lib/isc/unix/ifiter_ioctl.c b/contrib/ntp/lib/isc/unix/ifiter_ioctl.c
index c8e4970..9166efe 100644
--- a/contrib/ntp/lib/isc/unix/ifiter_ioctl.c
+++ b/contrib/ntp/lib/isc/unix/ifiter_ioctl.c
@@ -104,7 +104,7 @@ struct isc_interfaceiter {
# ifdef IFNAMSIZ
# define IF_NAMESIZE IFNAMSIZ
# else
-# define IF_NAMESIZE 16
+# define IF_NAMESIZE 64
# endif
#endif
#endif
diff --git a/sys/net/if.h b/sys/net/if.h
index 5da596a..a5e6a02 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -51,7 +51,7 @@
* Length of interface external name, including terminating '\0'.
* Note: this is the same size as a generic device's external name.
*/
-#define IF_NAMESIZE 16
+#define IF_NAMESIZE 64
#if __BSD_VISIBLE
#define IFNAMSIZ IF_NAMESIZE
#define IF_MAXUNIT 0x7fff /* historical value */
OpenPOWER on IntegriCloud