diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:43:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:43:53 +0000 |
commit | 7277994f59337cd053e0d87f368a4485e446266c (patch) | |
tree | 3163155048af67af32eff2fd59170471a547254b /debian/patches/progress-linux | |
parent | Updating vcs fields. (diff) | |
download | wide-dhcpv6-7277994f59337cd053e0d87f368a4485e446266c.tar.xz wide-dhcpv6-7277994f59337cd053e0d87f368a4485e446266c.zip |
Ignoring XID mismatch from DHCP6 servers in dhcp6c to make debian-installer work with dhcp6.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux')
-rw-r--r-- | debian/patches/progress-linux/0001-ignore-xid-mismatch.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-ignore-xid-mismatch.patch b/debian/patches/progress-linux/0001-ignore-xid-mismatch.patch new file mode 100644 index 0000000..76a6123 --- /dev/null +++ b/debian/patches/progress-linux/0001-ignore-xid-mismatch.patch @@ -0,0 +1,26 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Ignoring XID mismatch from DHCP6 servers in dhcp6c to make debian-installer work with dhcp6. + +diff -Naurp wide-dhcpv6.orig/dhcp6c.c wide-dhcpv6/dhcp6c.c +--- wide-dhcpv6.orig/dhcp6c.c ++++ wide-dhcpv6/dhcp6c.c +@@ -1516,8 +1516,7 @@ client6_recvadvert(ifp, dh6, len, optinf + /* find the corresponding event based on the received xid */ + ev = find_event_withid(ifp, ntohl(dh6->dh6_xid) & DH6_XIDMASK); + if (ev == NULL) { +- debug_printf(LOG_INFO, FNAME, "XID mismatch"); +- return (-1); ++ debug_printf(LOG_INFO, FNAME, "XID mismatch (ignored)"); + } + + /* packet validation based on Section 15.3 of RFC3315. */ +@@ -1775,8 +1774,7 @@ client6_recvreply(ifp, dh6, len, optinfo + /* find the corresponding event based on the received xid */ + ev = find_event_withid(ifp, ntohl(dh6->dh6_xid) & DH6_XIDMASK); + if (ev == NULL) { +- debug_printf(LOG_INFO, FNAME, "XID mismatch"); +- return (-1); ++ debug_printf(LOG_INFO, FNAME, "XID mismatch (ignored)"); + } + + state = ev->state; |