mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
- Fixed a compilation problems on platforms that define a value for FDDI,
which conflicts with a dhcp configuration syntax token by the same name. [ISC-Bugs #16898]
This commit is contained in:
@@ -912,7 +912,7 @@ intern(char *atom, enum dhcp_token dfv) {
|
||||
if (!strcasecmp (atom + 1, "ixed-address6"))
|
||||
return FIXED_ADDR6;
|
||||
if (!strcasecmp (atom + 1, "ddi"))
|
||||
return FDDI;
|
||||
return TOKEN_FDDI;
|
||||
if (!strcasecmp (atom + 1, "ormerr"))
|
||||
return NS_FORMERR;
|
||||
if (!strcasecmp (atom + 1, "unction"))
|
||||
|
@@ -569,7 +569,7 @@ parse_ip_addr_with_subnet(cfile, match)
|
||||
|
||||
/*
|
||||
* hardware-parameter :== HARDWARE hardware-type colon-separated-hex-list SEMI
|
||||
* hardware-type :== ETHERNET | TOKEN_RING | FDDI
|
||||
* hardware-type :== ETHERNET | TOKEN_RING | TOKEN_FDDI
|
||||
*/
|
||||
|
||||
void parse_hardware_param (cfile, hardware)
|
||||
@@ -589,7 +589,7 @@ void parse_hardware_param (cfile, hardware)
|
||||
case TOKEN_RING:
|
||||
hardware -> hbuf [0] = HTYPE_IEEE802;
|
||||
break;
|
||||
case FDDI:
|
||||
case TOKEN_FDDI:
|
||||
hardware -> hbuf [0] = HTYPE_FDDI;
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user