1. 15 Aug, 2010 1 commit
  2. 05 Jul, 2010 1 commit
  3. 05 Mar, 2010 1 commit
  4. 01 Jan, 2010 2 commits
    • Mike Frysinger's avatar
      interface: fix IPv6 parsing of interfaces with large indexes (> 255) · 74f98bb0
      Mike Frysinger authored
      patch from Dave Johnson <djohnson@sw.starentnetworks.com> via Debian #433543
      
      When running 'ifconfig' it will not show any IPv6 addresses for
      interfaces that have an ifindex > 255.
      
      Because the kernel will increment the ifindex every time an interface
      is added or removed, it is not necessary to have 256 interfaces at
      once, just creating 256 interfaces since system boot and they will no
      longer show IPv6 addresses.
      
      This is due to an improper fscanf() maximum range argument.  Patch to
      fix the problem is below.
      
      Example:
      
      st34:~# ip addr list dev eth1.110
      268: eth1.110@eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
          link/ether 00:e0:81:2a:0d:2d brd ff:ff:ff:ff:ff:ff
          inet6 fd4d:5643:2886:6e::ea:0/64 scope global
             valid_lft forever preferred_lft forever
          inet6 fe80::2e0:81ff:fe2a:d2d/64 scope link
             valid_lft forever preferred_lft forever
      st34:~# ifconfig eth1.110
      eth1.110  Link encap:Ethernet  HWaddr 00:E0:81:2A:0D:2D
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0
                RX bytes:0 (0.0 b)  TX bytes:676 (676.0 b)
      
      st34:~# grep eth1.110 /proc/net/if_inet6
      fd4d56432886006e0000000000ea0000 10c 40 00 80 eth1.110
      fe8000000000000002e081fffe2a0d2d 10c 40 20 80 eth1.110
      st34:~#
      74f98bb0
    • Mike Frysinger's avatar
  5. 31 Dec, 2009 7 commits
  6. 06 Sep, 2009 14 commits
  7. 27 Aug, 2009 2 commits
  8. 28 Jul, 2009 1 commit
  9. 08 Jul, 2009 1 commit
  10. 02 Dec, 2008 3 commits
  11. 01 Dec, 2008 1 commit
  12. 16 Nov, 2008 1 commit
  13. 03 Oct, 2008 5 commits