All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables-1.4.1: ip6tables -L prints network mask instead of prefix length
@ 2008-06-10 11:49 Petr Pisar
  2008-06-10 12:06 ` Jan Engelhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Pisar @ 2008-06-10 11:49 UTC (permalink / raw)
  To: netfilter-devel

Hello,

I found regression between iptables 1.4.0 and 1.4.1-rc1 (also in
1.4.1). The "ip6tables -nL" prints source and destination addresses in
NETWORK/NETMASK instead of NETWORK/PREFIXLEN as used in iptables 1.4.0.

This doesn't happen if the PREFIXLEN is 0 (i.e. ::/0).

Example:

# /tmp/iptables-1.4.0/ip6tables -nL FORWARD
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
netall-in  all      ::/0                 2002:93fb:1712::/48
netall-out  all      2002:93fb:1712::/48  ::/0

# /tmp/iptables-1.4.1-rc1/ip6tables -nL FORWARD 
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
netall-in  all      ::/0                 2002:93fb:1712::/ffff:ffff:ffff:: 
netall-out  all      2002:93fb:1712::/ffff:ffff:ffff::  ::/0

-- Petr



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-10 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-10 11:49 iptables-1.4.1: ip6tables -L prints network mask instead of prefix length Petr Pisar
2008-06-10 12:06 ` Jan Engelhardt
2008-06-10 13:01   ` Petr Pisar
2008-06-10 13:18   ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.