]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: The ip header dump is crazy long and useless
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 7 Nov 2019 01:17:29 +0000 (20:17 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 19 Nov 2019 12:47:19 +0000 (07:47 -0500)
commitedca5860cbee1adb9e35fa074b4e20d4178c44c7
tree34038fdbaf748e32b078cedf5f4d532446c5c82a
parent868a0861d2619ee4681132ece26349ea1ddd2d43
ospfd: The ip header dump is crazy long and useless

Turning on packet debugs and seeing a header dump that is 11
lines long is useless

2019/11/07 01:07:05.941798 OSPF: ip_v 4
2019/11/07 01:07:05.941806 OSPF: ip_hl 5
2019/11/07 01:07:05.941813 OSPF: ip_tos 192
2019/11/07 01:07:05.941821 OSPF: ip_len 68
2019/11/07 01:07:05.941831 OSPF: ip_id 48576
2019/11/07 01:07:05.941838 OSPF: ip_off 0
2019/11/07 01:07:05.941845 OSPF: ip_ttl 1
2019/11/07 01:07:05.941857 OSPF: ip_p 89
2019/11/07 01:07:05.941865 OSPF: ip_sum 0xcf33
2019/11/07 01:07:05.941873 OSPF: ip_src 200.254.30.14
2019/11/07 01:07:05.941882 OSPF: ip_dst 224.0.0.5

We already have this debugged, it's not going to change and the
end developer can stick this back in if needed by hand to debug
something that is not working properly.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospfd/ospf_dump.c
ospfd/ospf_dump.h
ospfd/ospf_packet.c