Module Name: src
Committed By: roy
Date: Tue Jan 19 15:08:29 UTC 2016
Modified Files:
src/external/bsd/wpa/dist/src/drivers: driver_bsd.c
Log Message:
Don't log RTM messages we aren't interested in at all.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/wpa/dist/src/drivers/driver_bsd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/wpa/dist/src/drivers/driver_bsd.c
diff -u src/external/bsd/wpa/dist/src/drivers/driver_bsd.c:1.12 src/external/bsd/wpa/dist/src/drivers/driver_bsd.c:1.13
--- src/external/bsd/wpa/dist/src/drivers/driver_bsd.c:1.12 Thu Jan 14 21:19:41 2016
+++ src/external/bsd/wpa/dist/src/drivers/driver_bsd.c Tue Jan 19 15:08:29 2016
@@ -1327,32 +1327,9 @@ wpa_driver_bsd_event_receive(int sock, v
wpa_printf(MSG_DEBUG, "RTM_IFINFO: Interface '%s' "
"if=%x drv=%x", event.interface_status.ifname,
ifm->ifm_flags, drv->flags);
- }
+ }
drv->flags = ifm->ifm_flags;
break;
-#ifdef RTM_OIFINFO
- case RTM_OIFINFO:
- wpa_printf(MSG_DEBUG, "RTM_OIFINFO ignored");
- break;
-#endif
-#ifdef RTM_OOIFINFO
- case RTM_OOIFINFO:
- wpa_printf(MSG_DEBUG, "RTM_OOIFINFO ignored");
- break;
-#endif
-#ifdef RTM_LOSING
- case RTM_LOSING:
- wpa_printf(MSG_DEBUG, "RTM_LOSING ignored");
- break;
-#endif
-#ifdef RTM_MISS
- case RTM_MISS:
- wpa_printf(MSG_DEBUG, "RTM_MISS ignored");
- break;
-#endif
- default:
- wpa_printf(MSG_DEBUG, "RTM_???: %d", rtm->rtm_type);
- break;
}
}