remove debug logging

This commit is contained in:
Neil Alexander 2021-05-10 23:16:22 +01:00
parent 815f2a2822
commit 577b7118ad

View File

@ -73,7 +73,6 @@ func (tun *TunAdapter) write() {
if len(bs) < 40 { if len(bs) < 40 {
continue continue
} }
tun.log.Println(len(bs), tun.MTU())
if len(bs) > int(tun.MTU()) { if len(bs) > int(tun.MTU()) {
ptb := &icmp.PacketTooBig{ ptb := &icmp.PacketTooBig{
MTU: int(tun.mtu), MTU: int(tun.mtu),