summaryrefslogtreecommitdiff
path: root/net/ndisc6/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/ndisc6/files')
-rw-r--r--net/ndisc6/files/patch-src_ndisc.c (renamed from net/ndisc6/files/patch-src-ndisc.c)13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/ndisc6/files/patch-src-ndisc.c b/net/ndisc6/files/patch-src_ndisc.c
index 08d52dc50c91..053a8e8380de 100644
--- a/net/ndisc6/files/patch-src-ndisc.c
+++ b/net/ndisc6/files/patch-src_ndisc.c
@@ -1,6 +1,15 @@
---- src/ndisc.c.orig 2016-12-07 16:43:04 UTC
+--- src/ndisc.c.orig 2023-11-10 15:28:07 UTC
+++ src/ndisc.c
-@@ -532,7 +532,7 @@ parseadv (const uint8_t *buf, size_t len, const struct
+@@ -451,7 +451,7 @@ parsednssl (const uint8_t *opt)
+ parsednssl (const uint8_t *opt)
+ {
+ const uint8_t *base;
+- uint8_t optlen = opt[1];
++ uint16_t optlen = opt[1];
+ if (optlen < 2)
+ return -1;
+
+@@ -559,7 +559,7 @@ parseadv (const uint8_t *buf, size_t len, const struct
printf (_("Stateful other conf. : %3s\n"),
gettext ((v & ND_RA_FLAG_OTHER) ? N_ ("Yes") : N_("No")));
printf (_("Mobile home agent : %3s\n"),