- 10 Oct, 2013 1 commit
-
-
Jiri Popelka authored
They are needed to be able to install binaries into /usr/bin & /usr/sbin instead of /bin & /sbin.
-
- 08 Oct, 2013 1 commit
-
-
Bernd Eckenfels authored
-
- 30 Sep, 2013 2 commits
-
-
Jiri Popelka authored
-
Jiri Popelka authored
1) Fall-back to numeric address if getnameinfo fails. Reverse lookup is not mandatory, therefore its fail is not an error. Just return numeric address in that case. This makes netstat/route show IPv6 address instead of [UNKNOWN] in case of DNS problems. 2) Pass length of 'name' buffer into function. 'name' is a pointer and therefore sizeof(name) returns size of pointer and not size of the buffer. see http://stackoverflow.com/questions/14298710/c-pointers-and-arrays-sizeof-operator The sizeof() usage was added with commit 604785ad, so I checked all the other changes in that commit and they seem to be OK. 3) remove unused 's' variable
-
- 30 Aug, 2013 4 commits
-
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
-
- 29 Aug, 2013 1 commit
-
-
Bernd Eckenfels authored
-
- 21 Jun, 2013 1 commit
-
-
Bernd Eckenfels authored
Thanks to Elias Probst for mentioning the problem.
-
- 15 Jun, 2013 3 commits
-
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
-
Lehner Florian authored
Signed-off-by: Lehner Florian <dev@der-flo.net>
-
- 14 Jun, 2013 1 commit
-
-
Lehner Florian authored
Signed-off-by: Lehner Florian <dev@der-flo.net>
-
- 13 Jun, 2013 2 commits
-
-
Bernd authored
[PATCH] replace strcpy() with safe_strncpy()
-
Lehner Florian authored
Signed-off-by: Lehner Florian <dev@der-flo.net>
-
- 12 Jun, 2013 1 commit
-
-
Lehner Florian authored
-
- 23 May, 2013 1 commit
-
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 13 May, 2013 3 commits
-
-
Mike Frysinger authored
Currently, we pass around sockaddr to various locations where they might case things to IPv4 or IPv6 addresses. In the latter case, this struct is not large enough to hold an IPv6 address, so we end up smashing the stack. For example: ifconfig sit1 inet6 pointopoint ::1.2.3.4 This calls ap->input() with an IPv6 address but a sockaddr struct. Internally, we cast this to sockaddr_in6 and then write too much. Rather than fixing this one cast, change the code to use the new sockaddr_storage struct. Then point sockaddr_in and sockaddr_in6 to that location. This way we can use "sa" everywhere and then use "sin" and "sin6" automatically (since they point to the same storage). URL: http://sourceforge.net/p/net-tools/bugs/3/Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
An IPv4 address is 32bits. Using unsigned long to represent that results in misbehavior on 64bit hosts as sizeof(ulong) == 8. Use in_addr_t in its place to represent IPv4 addresses. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 12 May, 2013 1 commit
-
-
Bernd Eckenfels authored
-
- 11 May, 2013 3 commits
-
-
Mike Frysinger authored
They've started linking libselinux against more things (like libpcre), so use pkg-config to get its dependency info. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Libs go into LIBS and after objects, not LDFLAGS. We don't want to pass -DHAVE_SELINUX via the command line as the generated config.h already defines it for us. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 27 Apr, 2013 1 commit
-
-
Mike Frysinger authored
There are many CFLAGS which implicitly affect linking too (like -fsanitize=address), so include them when linking. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 25 Apr, 2013 4 commits
-
-
Ville Skyttä authored
-
Bernd Eckenfels authored
Rmi Verschelde contributed french translation if ifconfig(8). https://sourceforge.net/p/net-tools/bugs/6/
-
-
Gilles Espinasse authored
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
-
- 19 Feb, 2013 1 commit
-
-
Jiri Popelka authored
to avoid string overflow and to make sure the string is terminated. - link mii-tool and nameif against lib/ - remove xmalloc() from nameif because it's defined also in util.c
-
- 15 Feb, 2013 5 commits
-
-
Bernd Eckenfels authored
-
Antonio Borneo authored
Read and dump all registers, including those not listed in linux/mii.h. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Document command line "-p addr" / "--phy=addr". Modify comments describing command line parameters. Signed-off-by: Antonio Borneo <borneo.antonio@...>
-
Antonio Borneo authored
Added ICPlus, Mikrel, National and STMicroelectronics entries. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
Lower 4 bits of "id2" contain chip revision. Existing code suppose that these bits are zero in PHY table "mii_id". Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
-
- 30 Jan, 2013 1 commit
-
-
Bernd Eckenfels authored
-
- 11 Jan, 2013 3 commits
-
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored