firewall3: fix typo that affects ICMPv6 rules with numeric icmp_type
authorAlin Nastac <alin.nastac@gmail.com>
Tue, 10 Sep 2019 14:15:13 +0000 (16:15 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sun, 15 Sep 2019 19:15:05 +0000 (21:15 +0200)
commitc26f8907d1d2921018240774b75cf9cfda352fa7
treea849b4aaf2abccd42f26ff54e3ae8b9e52a83312
parent487bd0d96c8fb9a53871134ebba7c0a66e286334
firewall3: fix typo that affects ICMPv6 rules with numeric icmp_type

Problem can be reproduced with a rule like this:
   option src 'wan'
   option family 'ipv6'
   option proto 'icmp'
   option icmp_type '128'
   option target 'DROP'
The resulted rule will set --icmpv6-type to 128/255.

Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
options.c