Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/wpa/dist/src/drivers Don't log RTM messages we ...
details: https://anonhg.NetBSD.org/src/rev/f7ad013a6d53
branches: trunk
changeset: 343020:f7ad013a6d53
user: roy <roy%NetBSD.org@localhost>
date: Tue Jan 19 15:08:29 2016 +0000
description:
Don't log RTM messages we aren't interested in at all.
diffstat:
external/bsd/wpa/dist/src/drivers/driver_bsd.c | 25 +------------------------
1 files changed, 1 insertions(+), 24 deletions(-)
diffs (37 lines):
diff -r e649981d691d -r f7ad013a6d53 external/bsd/wpa/dist/src/drivers/driver_bsd.c
--- a/external/bsd/wpa/dist/src/drivers/driver_bsd.c Tue Jan 19 10:56:59 2016 +0000
+++ b/external/bsd/wpa/dist/src/drivers/driver_bsd.c Tue Jan 19 15:08:29 2016 +0000
@@ -1327,32 +1327,9 @@
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;
}
}
Home |
Main Index |
Thread Index |
Old Index