2
0
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:
David Hankins
2008-01-16 22:57:01 +00:00
parent 57fcb8d97a
commit 219a65eb6e
5 changed files with 9 additions and 6 deletions

View File

@@ -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: