Public bug reported: Binary package hint: iproute
$ lsb_release -rd Description: Ubuntu Natty (development branch) Release: 11.04 The filter settings for dport get printed out as sport settings and vice versa when the -p option is specified for the command. This issue happens for dport, sport, and dport/sport cases. See example below. $ tc filter show dev eth0 $ sudo tc filter add dev eth0 protocol ip prio 1 u32 match ip protocol 17 0xff match ip dport 3055 0xffff match ip dst 192.168.91.38 flowid 1:11 $ tc filter show dev eth0 filter parent 1: protocol ip pref 1 u32 filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:11 match 00110000/00ff0000 at 8 match 00000bef/0000ffff at 20 match c0a85b26/ffffffff at 16 $ tc -p filter show dev eth0 filter parent 1: protocol ip pref 1 u32 filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:11 match IP protocol 17 match sport 3055 match IP dst 192.168.91.38/32 ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: iproute 20100519-3 ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38 Uname: Linux 2.6.38-7-generic i686 Architecture: i386 Date: Wed Mar 30 20:30:17 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110325) ProcEnviron: LANGUAGE=en_US:en LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: iproute UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: iproute (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 natty running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/746187 Title: tc -p option transposes dport and sport output -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs