1. 16 Mar, 2013 4 commits
  2. 14 Mar, 2013 3 commits
  3. 13 Mar, 2013 1 commit
  4. 12 Mar, 2013 1 commit
  5. 11 Mar, 2013 1 commit
  6. 06 Mar, 2013 8 commits
  7. 04 Mar, 2013 1 commit
  8. 28 Feb, 2013 2 commits
  9. 27 Feb, 2013 5 commits
  10. 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
  11. 19 Feb, 2013 2 commits
  12. 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
  13. 11 Feb, 2013 6 commits