Permalink
Browse files

use IF_NAMESIZE, not 16

  • Loading branch information...
1 parent e2eb494 commit c2a509a4ec88b26655f5b683315b9bdfcdf7cd31 itojun committed Oct 8, 2000
Showing with 2 additions and 2 deletions.
  1. +2 −2 kame/kame/rtadvd/rtadvd.c
View
4 kame/kame/rtadvd/rtadvd.c
@@ -1,4 +1,4 @@
-/* $KAME: rtadvd.c,v 1.35 2000/10/08 07:03:24 itojun Exp $ */
+/* $KAME: rtadvd.c,v 1.36 2000/10/08 07:04:08 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -331,7 +331,7 @@ rtmsg_input()
int n, type, ifindex = 0, plen;
size_t len;
char msg[2048], *next, *lim;
- u_char ifname[16];
+ u_char ifname[IF_NAMESIZE];
struct prefix *prefix;
struct rainfo *rai;
struct in6_addr *addr;

0 comments on commit c2a509a

Please sign in to comment.