aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSUZUKI, Shinsuke <suz@kame.net>2007-12-06 15:04:06 +0000
committerBjørn Mork <bjorn@mork.no>2010-08-06 15:37:37 +0200
commit3310715c3c243fe3f38384a21777046e34d8d361 (patch)
tree691ca3dbf38ba955050169f02ae977b9e3f4ea9b
parentecbf1d57a868bb0893963e978b270abe53575414 (diff)
fixed a bugthat dhcp6s cannot accept a relayed request message with authentication option. (Bug-ID 1814287)
-rw-r--r--CHANGES2
-rw-r--r--dhcp6s.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 0fd9cc3..ad9df87 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
2007-12-06 SUZUKI, Shinsuke <suz@kame.net>
* common.c: fixed a possible memory leak. (Bug-ID 1844676)
* common.c: fixed a possible double free. (Bug-ID 1844683)
+ * dhcp6s.c: fixed a bugthat dhcp6s cannot accept a relayed
+ request message with authentication option. (Bug-ID 1814287)
2007-07-25 SUZUKI, Shinsuke <suz@kame.net>
* config.c, lease.h, common.c: removed compilation warnings
diff --git a/dhcp6s.c b/dhcp6s.c
index 21e0a30..70f8860 100644
--- a/dhcp6s.c
+++ b/dhcp6s.c
@@ -955,6 +955,7 @@ server6_recv(s)
goto end;
}
/* dh6 and optend should have been updated. */
+ len = (ssize_t)((char *)optend - (char *)dh6);
}
/*