1. 27 Feb, 2013 5 commits
  2. 21 Feb, 2013 2 commits
    • Stephen Hemminger's avatar
      v3.8.0 · 05e983ea
      Stephen Hemminger authored
      05e983ea
    • Kees van Reeuwijk's avatar
      iproute2: clearer error messages for fifo and tbf qdiscs · 3bed7bb7
      Kees van Reeuwijk authored
      Clearer error messages for fifo and tbf qdiscs:
      - Say who is complaining
      - Don't just say a parameter is bad, show the offending parameter
      - Be clearer about duplicate parameters vs illegal pairs of parameters
      - Try to give multiple error messages rather than let the user discover the errors one by one
      - When there are parameter aliases, try to use the variant that was used, or at least mention them all
      
      Note that in the old version an empty parameter list to tbf would just cause an explain() message
      without a specific error message. By simply removing the relevant error check, the code now
      handles this error more gracefully by printing an error message for all mandatory parameters.
      It still prints the explain() message.
      Signed-off-by: default avatarKees van Reeuwijk <reeuwijk@few.vu.nl>
      3bed7bb7
  3. 19 Feb, 2013 2 commits
  4. 12 Feb, 2013 4 commits
    • Stephen Hemminger's avatar
      ip: handle flush with table > 2^31 · caae16b3
      Stephen Hemminger authored
      Fixes Debian bug #700434
      Need to table id in filter to be unsigned to avoid conversion to -1
      
      The documentation for "ip" suggests that, when using multiple routing tables, the table ID can be an arbitrary 32 bit number. I've been writing a script that calculates a table Id based on an IP addresses and sets up tables accordingly based on it. This seems to work for everything I've tried except "ip route flush". If you specify a table to flush with an ID over 2^31, it flushes all IPv4 routing tables. For example:
      
      Will delete all routing tables, including the default one. Needless to say, this is quite annoying. I think this is an upstream bug, but your opinions will be greatly appreciated.
      caae16b3
    • Stephen Hemminger's avatar
      Makefile: turn on warnings about missing prototypes · 6398d3a6
      Stephen Hemminger authored
      Catches missing, dead code and also places where function should be static.
      6398d3a6
    • Stephen Hemminger's avatar
      lib: make string arguments const · 46ac8a55
      Stephen Hemminger authored
      For lookup routines, make arguments const where possible.
      46ac8a55
    • Stephen Hemminger's avatar
      ip: make local functions static · d1f28cf1
      Stephen Hemminger authored
      d1f28cf1
  5. 11 Feb, 2013 6 commits
  6. 05 Feb, 2013 2 commits
    • Stephen Hemminger's avatar
      ip: change format of promiscuity display · 1cb6a110
      Stephen Hemminger authored
      Don't put it on separate line, keep it on line with link address.
      1cb6a110
    • Nicolas Dichtel's avatar
      iplink: display the value of IFLA_PROMISCUITY · ede6a3ea
      Nicolas Dichtel authored
      This is useful to know the 'real' status of an interface (the flag IFF_PROMISC
      is exported by the kernel only when the user set it explicitly, for example it
      will not be exported when a tcpdump is running).
      
      This information will be displayed when '-details' is provided by the user.
      
      Example:
      $ ip -d l l tun10
      6: tun10: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN mode DEFAULT
          link/sit 10.16.0.249 peer 10.16.0.121
          sit remote 10.16.0.121 local 10.16.0.249 ttl inherit pmtudisc 6rd-prefix 2002::/16
          promiscuity 2
      Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
      ede6a3ea
  7. 04 Feb, 2013 11 commits
  8. 18 Jan, 2013 2 commits
  9. 16 Jan, 2013 1 commit
  10. 15 Jan, 2013 2 commits
  11. 23 Dec, 2012 1 commit
  12. 20 Dec, 2012 2 commits