mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +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:
@@ -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