diff options
-rw-r--r-- | libnetutils/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetutils/packet.c b/libnetutils/packet.c index 3ec83fe..be4e0db 100644 --- a/libnetutils/packet.c +++ b/libnetutils/packet.c @@ -39,7 +39,7 @@ int fatal(); -int open_raw_socket(const char *ifname, uint8_t *hwaddr, int if_index) +int open_raw_socket(const char *ifname __attribute__((unused)), uint8_t *hwaddr, int if_index) { int s, flag; struct sockaddr_ll bindaddr; |