diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2007-05-03 05:41:22 +0000 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:37 +0200 |
commit | 3a8fbf36b980a7eee65e8a3e3c45b507cc1e58b1 (patch) | |
tree | 6c35550d507ed2ba029856c3de966ba7747ec8b5 | |
parent | 6a594cacbd21674f5344b5369abcd0b2f1e0ec41 (diff) |
fixed a Solicitation message validation error (introduced on Mar 21 2007)
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | dhcp6s.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2007-05-03 SUZUKI, Shinsuke <suz@kame.net> + * dhcp6s.c: fixed a Solicitation message validation error (introduced + on Mar 21 2007) + 2007-03-23 SUZUKI, Shinsuke <suz@kame.net> * dhcp6relay.c,dhcp6.c: in signal-receiving procedure, not uses a function that is not always designed to be signal-safe @@ -1245,7 +1245,7 @@ react_solicit(ifp, dh6, len, optinfo, from, fromlen, relayinfohead) * Server Identifier option. * [RFC3315 Section 15.2] */ - if (optinfo->serverID.duid_len == 0) { + if (optinfo->serverID.duid_len) { dprintf(LOG_INFO, FNAME, "server ID option found"); return (-1); } |