aboutsummaryrefslogtreecommitdiff
path: root/dhcp6s.c
diff options
context:
space:
mode:
authorSUZUKI, Shinsuke <suz@kame.net>2007-05-03 05:41:22 +0000
committerBjørn Mork <bjorn@mork.no>2010-08-06 15:37:37 +0200
commit3a8fbf36b980a7eee65e8a3e3c45b507cc1e58b1 (patch)
tree6c35550d507ed2ba029856c3de966ba7747ec8b5 /dhcp6s.c
parent6a594cacbd21674f5344b5369abcd0b2f1e0ec41 (diff)
fixed a Solicitation message validation error (introduced on Mar 21 2007)
Diffstat (limited to 'dhcp6s.c')
-rw-r--r--dhcp6s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp6s.c b/dhcp6s.c
index 8211f51..ed0fd58 100644
--- a/dhcp6s.c
+++ b/dhcp6s.c
@@ -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);
}