diff options
Diffstat (limited to 'tools/tools/net80211')
-rw-r--r-- | tools/tools/net80211/wlanwds/wlanwds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/tools/net80211/wlanwds/wlanwds.c b/tools/tools/net80211/wlanwds/wlanwds.c index 86246c21f5c7..cf1335663388 100644 --- a/tools/tools/net80211/wlanwds/wlanwds.c +++ b/tools/tools/net80211/wlanwds/wlanwds.c @@ -84,7 +84,6 @@ static struct wds *wds; static const char *script = NULL; static char **ifnets; static int nifnets = 0; -static int verbose = 0; static int discover_on_join = 0; static void scanforvaps(int s); @@ -376,6 +375,8 @@ handle_rtmsg(struct rt_msghdr *rtm, ssize_t msglen) { struct if_announcemsghdr *ifan; + (void) msglen; /* UNUSED */ + if (rtm->rtm_version != RTM_VERSION) { syslog(LOG_ERR, "routing message version %d not understood", rtm->rtm_version); |