BUG10984: Fix portforwardconverter for upgrades before core 77

Message ID 1447671667-9414-1-git-send-email-alexander.marx@ipfire.org
State Accepted
Commit 0cf6bacad2cafcacdee5810c2a4080cb19aa85ae


Alexander Marx Nov. 16, 2015, 10:01 p.m. UTC
  When upgrading from a post core-77 installation, the portforwarding
rules seem to get broken. With this patch the sourceports and the
subnetmasks from the rules are converted correctly.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
 config/firewall/convert-portfw | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)