Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131753165
D39542.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
645 B
Referenced Files
None
Subscribers
None
D39542.id.diff
View Options
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -2957,11 +2957,10 @@
if (V_log_mac_flap &&
ppsratecheck(&V_log_last, &V_log_count, V_log_interval)) {
- uint8_t *addr = &brt->brt_addr[0];
log(LOG_NOTICE,
- "%s: mac address %02x:%02x:%02x:%02x:%02x:%02x vlan %d moved from %s to %s\n",
+ "%s: mac address %6D vlan %d moved from %s to %s\n",
sc->sc_ifp->if_xname,
- addr[0], addr[1], addr[2], addr[3], addr[4], addr[5],
+ &brt->brt_addr[0], ":",
brt->brt_vlan,
obif->bif_ifp->if_xname,
bif->bif_ifp->if_xname);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 11, 9:43 PM (1 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23583096
Default Alt Text
D39542.id.diff (645 B)
Attached To
Mode
D39542: bridge: Use %D identifier to format MAC address
Attached
Detach File
Event Timeline
Log In to Comment