--- src/promisc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/promisc.c b/src/promisc.c index 4f2082c..137e3eb 100644 --- a/src/promisc.c +++ b/src/promisc.c @@ -49,7 +49,7 @@ void init_promisc_list(struct promisc_states **list) { FILE *fd; int ifd; - char buf[18]; + char buf[IF_NAMESIZE]; struct promisc_states *ptmp; struct promisc_states *tail = NULL; struct ifreq ifr;