]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
pknlusr: tidy up initialization of local address
authorJeremy Sowden <jeremy@azazel.net>
Sun, 25 Oct 2020 13:15:50 +0000 (14:15 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 25 Oct 2020 13:54:40 +0000 (14:54 +0100)
commit9cd0b44c81b500fcf87a8b3f1337bfedc20a4305
tree83fbccce481dc8372077b84720df927875a18956
parentb4faa4de659d44457a64fe151359448446e606ac
pknlusr: tidy up initialization of local address

Use struct initialization and drop memset. We do not need to set the port
ID, since the kernel will do it for us.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
extensions/pknock/pknlusr.c