diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-05-06 14:35:08 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-05-06 14:35:08 +0000 |
commit | 9fede9dedbe4e6b035efc85252cf866b9380fc1a (patch) | |
tree | f19a6f6859436056608b7090c8bab15f134dc74c /net-misc/dhcpcd/files | |
parent | stable x86/amd64, bug 220535 (diff) | |
download | gentoo-2-9fede9dedbe4e6b035efc85252cf866b9380fc1a.tar.gz gentoo-2-9fede9dedbe4e6b035efc85252cf866b9380fc1a.tar.bz2 gentoo-2-9fede9dedbe4e6b035efc85252cf866b9380fc1a.zip |
old
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'net-misc/dhcpcd/files')
-rw-r--r-- | net-misc/dhcpcd/files/dhcpcd-3.1.6-zeroconf.patch | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/net-misc/dhcpcd/files/dhcpcd-3.1.6-zeroconf.patch b/net-misc/dhcpcd/files/dhcpcd-3.1.6-zeroconf.patch deleted file mode 100644 index 2b76e1c3f72c..000000000000 --- a/net-misc/dhcpcd/files/dhcpcd-3.1.6-zeroconf.patch +++ /dev/null @@ -1,67 +0,0 @@ -Index: interface.h -=================================================================== ---- interface.h (revision 289) -+++ interface.h (working copy) -@@ -53,6 +53,14 @@ - - #define HWADDR_LEN 20 - -+#define LINKLOCAL_ADDR 0xa9fe0000 -+#define LINKLOCAL_MASK 0xffff0000 -+#define LINKLOCAL_BRDC 0xa9feffff -+ -+#ifndef IN_LINKLOCAL -+# define IN_LINKLOCAL(addr) ((ntohl (addr) & IN_CLASSB_NET) == LINKLOCAL_ADDR) -+#endif -+ - typedef struct route_t - { - struct in_addr destination; -Index: client.c -=================================================================== ---- client.c (revision 289) -+++ client.c (working copy) -@@ -489,9 +489,7 @@ - switch (state) { - case STATE_INIT: - if (iface->previous_address.s_addr != 0 && --#ifdef ENABLE_IPV4LL - ! IN_LINKLOCAL (iface->previous_address.s_addr) && --#endif - ! options->doinform) { - logger (LOG_ERR, "lost lease"); - xid = 0; -@@ -598,14 +596,12 @@ - break; - case STATE_BOUND: - case STATE_RENEW_REQUESTED: --#ifdef ENABLE_IPV4LL - if (IN_LINKLOCAL (dhcp->address.s_addr)) { - memset (&dhcp->address, 0, sizeof (struct in_addr)); - state = STATE_INIT; - xid = 0; - break; - } --#endif - state = STATE_RENEWING; - xid = random (); - case STATE_RENEWING: -Index: ipv4ll.h -=================================================================== ---- ipv4ll.h (revision 289) -+++ ipv4ll.h (working copy) -@@ -25,14 +25,6 @@ - #include "dhcp.h" - #include "interface.h" - --#define LINKLOCAL_ADDR 0xa9fe0000 --#define LINKLOCAL_MASK 0xffff0000 --#define LINKLOCAL_BRDC 0xa9feffff -- --#ifndef IN_LINKLOCAL --# define IN_LINKLOCAL(addr) ((ntohl (addr) & IN_CLASSB_NET) == LINKLOCAL_ADDR) --#endif -- - int ipv4ll_get_address (interface_t *iface, dhcp_t *dhcp); - - #endif |