mirror of
https://github.com/moby/moby.git
synced 2026-08-09 01:21:37 +00:00
The output of `iptables -nvL` has changed in Debian 13 — the proto column now shows protocol names instead of numbers, even when `-n` is specified. This breaks the iptablesdoc golden files, which expect protocols to be represented numerically. This change comes from 34f085b1607364f4eaded1140060dcaf965a2649 in repo git.netfilter.org/iptables (see [1]), which is a revert of da8ecc62dd765b15df84c3aa6b83dcb7a81d4ffa (see [2]), and was made to address a bug report (see [3]). Unfortunately, this means there's a drift between iptables versions. So, remove the `-n` flag altogether to ensure that the iptablesdoc tests pass everywhere. [1]: https://git.netfilter.org/iptables/commit/?id=da8ecc62dd765b15df84c3aa6b83dcb7a81d4ffa [2]: https://git.netfilter.org/iptables/commit/?id=34f085b1607364f4eaded1140060dcaf965a2649 [3]: https://bugzilla.netfilter.org/show_bug.cgi?id=1729 Signed-off-by: Albin Kerouanton <albinker@gmail.com>