- 15 Jun, 2013 1 commit
-
-
Bernd Eckenfels authored
-
- 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 5 commits
-
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
- 02 Jan, 2013 1 commit
-
-
Jiri Popelka authored
-
- 31 Dec, 2012 3 commits
-
-
Bernd Eckenfels authored
-
Jiri Popelka authored
buf concatenates what's returned from media_list() plus couple of other strings which seems to easily overrun the 100 byte fixed-size, therefore double it.
-
Jiri Popelka authored
-
- 17 Oct, 2012 4 commits
-
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
-
Bernd Eckenfels authored
-
Simon A. Eugster authored
-
- 05 Oct, 2012 1 commit
-
-
Jiri Popelka authored
also fix fonts of some keywords
-
- 03 Oct, 2012 1 commit
-
-
Mike Frysinger authored
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 01 Oct, 2012 1 commit
-
-
Mike Frysinger authored
These features have been removed in recent kernels (and no longer provide the headers so we can't compile against them), so disable by default. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-