1. 31 Jul, 2008 2 commits
  2. 25 Jul, 2008 3 commits
    • Stephen Hemminger's avatar
      Update snapshot · 6420b62e
      Stephen Hemminger authored
      6420b62e
    • Rafael Almeida's avatar
      Fixed installation when changing DESTDIR · b514b358
      Rafael Almeida authored
      After changing the DESTDIR the installated binaries have some issues
      due to hard coded paths. For example, using distributions on NetEm
      would segfault.
      
      I've changed iplink.c and tc_util.c so they are now aware of DESTDIR.
      Along with that change I needed to change the main Makefile so it
      defines the DESTDIR macro when calling gcc.
      
      I also changed the paths so that during the installation sbin, etc,
      share and lib directories are created directly inside of the DESTDIR,
      instead of creating a usr directory inside that. That's the behaviour
      of most packages out there, so I think most users will be expecting
      that to happen.
      b514b358
    • Varun Chandramohan's avatar
      Display Correct Error For Addrlabel Info · 6579feea
      Varun Chandramohan authored
      The command "ip addrlabel add/del" displays incorrect error message when provided with insufficient inputs. This patch fixes it in par with "ip addr add/del".
      
      Currently:
      # ./ip addrlabel add
      RTNETLINK answers: Numerical result out of range
      
      # ./ip addr add
      Not enough information: "dev" argument is required.
      
      After patch:
      # ./ip addrlabel add
      Not enough information: "prefix" argument is required.
      Signed-off-by: default avatarVarun Chandramohan <varunc@linux.vnet.ibm.com>
      Signed-off-by: default avatarStephen Hemminger <stephen.hemminger@vyatta.com>
      6579feea
  3. 15 Jul, 2008 1 commit
  4. 30 Jun, 2008 2 commits
  5. 23 Jun, 2008 4 commits
    • Yu Zhiguo's avatar
      Fix generic_proc_open() of command 'nstat' and 'rtacct' · 4ffc44ca
      Yu Zhiguo authored
      Fix a bug of generic_proc_open(), so environment variables
      (e.g. PROC_NET_SNMP, PROC_NET_RTACCT) can be used to specify procfile.
      Signed-off-by: default avatarYu Zhiguo <yuzg@cn.fujitsu.com>
      4ffc44ca
    • Bertrand Jacquin's avatar
      netem: fix cross-compiling failure · 3cc6232e
      Bertrand Jacquin authored
      The programs in netem are compiled and run on the build machine, but they
      use the CFLAGS that are meant for the target system and often times, these
      are incompatible.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      3cc6232e
    • Benjamin Thery's avatar
      iproute2: add support for IFLA_NET_NS_PID in ip link · e2613dc8
      Benjamin Thery authored
      Hi Stephen,
      
      I resend you this patch once more. This time I updated the documentation
      too (may be that was the reason why you didn't take it before?).
      
      Please tell me if there are other things missing in this patch
      It applies on iproute2 git tree.
      
      Regards,
      Benjamin
      
      Description:
      ------------
      
      This patch adds support for the IFLA_NET_NS_PID type. It is used to
      move network devices between network namespaces.
      
      The syntax is:
      ip link set DEVICE netns PID
      
      PID is the pid of a process in the target network namespace.
      
      (Daniel Lezcano is the original author).
      Signed-off-by: default avatarDaniel Lezcano <dlezcano@fr.ibm.com>
      Signed-off-by: default avatarBenjamin Thery <benjamin.thery@bull.net>
      Signed-off-by: default avatarStephen Hemminger <stephen.hemminger@vyatta.com>
      e2613dc8
    • Patrick McHardy's avatar
      tc: don't set protococol field on filter delete · ae761068
      Patrick McHardy authored
      > # tc filter show dev eth1 | grep 4:29:d1
      > filter parent 1: protocol ip pref 5 u32 fh 4:29:d1 order 209 key ht 4
      > bkt 29 flowid 1:b7aa
      >
      > # tc filter del dev eth1 parent 1: pref 5 handle 4:29:d1 u32
      > RTNETLINK answers: Invalid argument
      > We have an error talking to the kernel
      >
      > after rollback to package"sys-apps/iproute2-2.6.24.20080108" all
      > deleted normal...
      
      The current iproute version uses "protocol all" by default
      if its not specified. This is actually only useful for creating
      new filters, on deletion an unset protocol is treated as wildcard.
      ae761068
  6. 20 Jun, 2008 4 commits
  7. 29 May, 2008 1 commit
  8. 22 May, 2008 1 commit
  9. 10 May, 2008 1 commit
  10. 09 May, 2008 4 commits
  11. 08 May, 2008 1 commit
  12. 23 Apr, 2008 3 commits
    • Daniel Silverstone's avatar
      Avoid infinite loop in ip addr flush. · 7b3d366e
      Daniel Silverstone authored
      Fix "ip addr flush" the same way "ip neigh flush" was previously fixed,
      by bailing out if the flush hasn't completed after MAX_ROUNDS (10) tries.
      7b3d366e
    • Andreas Henriksson's avatar
      document promote_secondaries · 3a9e4821
      Andreas Henriksson authored
      Write something about the tweak to enable promoting secondary addresses
      instead of deleting them together with the primary address as discussed
      in this thread on the netdev mailing list:
      http://www.spinics.net/lists/netdev/msg52294.html
      
      The claim that this is supported since 2.6.15 is based on looking at
      changes to net/ipv4/devinet.c in the linux-2.6 git tree:
      
      Commit to add support:
      2005-05-30      Harald Welte
      8f937c6099858eee15fae14009dcbd05177fa91d
      
      Commit to fix bug:
      2005-11-22      Jamal Hadi Salim
      0ff60a45678e67b2547256a636fd00c1667ce4fa
      
      Version 2.6.15 was released 2006-01-03 and seems to include the code from
      both the above commits.
      3a9e4821
    • Andreas Henriksson's avatar
      Fix typos (syntax error) in ip(8) manpage. · 83ad2dd7
      Andreas Henriksson authored
      This one also caught by lintian (debian package checker tool).
      83ad2dd7
  13. 17 Apr, 2008 4 commits
  14. 04 Apr, 2008 1 commit
    • Marcela Maslanova's avatar
      man ip.8 miss xfrm option · ae9b671d
      Marcela Maslanova authored
      I was asked to at least mention the xfrm option in ip manual. I added
      all usage into ip.8 and try to write some basic information about xfrm.
      If someone want complete it, I'll be happy.
      
      Marcela Maslanova
      
      a16304c0cdbdbc8926b112743b4bd49069a50cd7
       man/man8/ip.8 |  474 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
       1 files changed, 474 insertions(+), 0 deletions(-)
      Signed-off-by: default avatarStephen Hemminger <stephen.hemminger@vyatta.com>
      ae9b671d
  15. 03 Apr, 2008 1 commit
  16. 01 Apr, 2008 7 commits