fw4: fix family auto-selection for config nat rules
authorJo-Philipp Wich <jo@mein.io>
Thu, 28 Apr 2022 09:49:47 +0000 (11:49 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 28 Apr 2022 15:05:59 +0000 (17:05 +0200)
commitb479815b198900a65fa42833b12bce689f8f395f
treea00827d9d63426300b9093f9b606108920d2d9b3
parent2816a82821befde0e4aa16d2f50215f04a4bbef4
fw4: fix family auto-selection for config nat rules

 - Ensure that a nat rule without any AF specifics and no explictly set
   family ends up being IPv4 only

 - Ensure that an IPv6 address without explicitly set family results in
   an IPv6 rule

 - Ensure that explicitly setting family any results in a IPv4/IPv6 rule

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/ucode/fw4.uc
tests/03_rules/08_family_inheritance