- The failover server no longer issues a floating point error if it encounters
a previously undefined option code.
+- MINUS tokens should be parseable again.
+
Changes since 4.0.0b3
- The reverse dns name for PTR updates on IPv6 addresses has been fixed to
cfile -> tlen = i;
cfile -> tval = cfile -> tokbuf;
- return token;
+ /*
+ * If this entire token from start to finish was "-", such as
+ * the middle parameter in "42 - 7", return just the MINUS token.
+ */
+ if ((i == 1) && (cfile->tokbuf[i] == '-'))
+ return MINUS;
+ else
+ return token;
}
static enum dhcp_token read_num_or_name (c, cfile)