diff --git a/src/osdnet.c b/src/osdnet.c index 81a0b89..a8b27a6 100644 --- a/src/osdnet.c +++ b/src/osdnet.c @@ -185,7 +185,7 @@ osn_iftab_init(void) struct ifent *ife; /* Start out with empty table */ - memset(&iftab[0], sizeof(iftab), 0); + memset(&iftab[0], 0, sizeof(iftab)); iftab_nifs = 0; #if HAVE_GETIFADDRS