]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Handle HAVE_PROTO flag and print "proto" keyword for O_IP4 and O_IP6
authorae <ae@FreeBSD.org>
Mon, 29 Apr 2019 09:52:53 +0000 (09:52 +0000)
committerae <ae@FreeBSD.org>
Mon, 29 Apr 2019 09:52:53 +0000 (09:52 +0000)
commit50b3d8bf81088f77cb3a48d9d9f7f368ecfb42b5
tree249e74b62b413b1c65dd629c1fd1724f08431aa0
parent10d10346a7b9d3537fa3c8bc57c2538ca3b8488a
Handle HAVE_PROTO flag and print "proto" keyword for O_IP4 and O_IP6
opcodes when it is needed.
This should fix the problem, when printed by `ipfw show` rule could not
be added due to missing "proto" keyword.

MFC after: 2 weeks
sbin/ipfw/ipfw2.c