]> git.ipfire.org Git - thirdparty/iptables.git/commit
xshared: dissolve should_load_proto
authorJan Engelhardt <jengelh@inai.de>
Tue, 30 May 2023 16:11:09 +0000 (18:11 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 16 Jun 2023 16:20:21 +0000 (18:20 +0200)
commit15919abe32092561c6318ebe2b0a9aa51e746bde
tree8ab8bc3ca435e0cd3977ef30d16e8db24ed961d7
parent69278f9602b43df80821c55c21c0666f5c6f7e2f
xshared: dissolve should_load_proto

cs->proto_used already tells whether -p foo was turned into an
implicit -m foo once, so I do not think should_load_proto() has a
reason to exist.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/xshared.c