Add length to log message for too-big DF broadcast frame
This commit is contained in:
1 parent
16db921349
commit
d7119169df
1 file changed
+1
-1
+1
-1
@@ -493,7 +493,7 @@ func (f curriedForward) Process(frame []byte, dec *EthernetDecoder, broadcast bo
|
|||||||
// non-broadcast frames can be broadcast, if the
|
// non-broadcast frames can be broadcast, if the
|
||||||
// destination MAC was not in our MAC cache.
|
// destination MAC was not in our MAC cache.
|
||||||
if broadcast {
|
if broadcast {
|
||||||
log.Print(fwd.logPrefix(), "dropping too big DF broadcast frame (", dec.IP.SrcIP, " -> ", dec.IP.DstIP, "): MTU=", mtu)
|
log.Print(fwd.logPrefix(), "dropping too big DF broadcast frame: len ", len(frame), " (", dec.IP.SrcIP, " -> ", dec.IP.DstIP, "): MTU=", mtu)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user