If I'm in say /ip/firewall/filter and do "print", it shows them in order from 0 upwards
I move rule 8 to position 2, do a print, and it behaves as before, and the rules are in order, from 0 upwards
However if I do say
print where chain='forward'
it doesn't show new numbering (0, 1, 2, 3), but instead shows the print order from the full "print", only filtering out the matching lines
Code: Select all
3 ;;; Allow all Established
chain=forward action=accept connection-state=established
6 ;;; Allow all Related
chain=forward action=accept connection-state=related
9 ;;; Allow ICMP
chain=forward action=accept protocol=icmp
Code: Select all
9 ;;; Allow ICMP
chain=forward action=accept protocol=icmp
3 ;;; Allow all Established
chain=forward action=accept connection-state=established
6 ;;; Allow all Related
chain=forward action=accept connection-state=related
Code: Select all
3 ;;; Allow ICMP
chain=forward action=accept protocol=icmp
4 ;;; Allow all Established
chain=forward action=accept connection-state=established
7 ;;; Allow all Related
chain=forward action=accept connection-state=related