conflex.c (71c6c44d8d2b62f4e1b6bb5b12fa252314ef116a) conflex.c (1e7fe2fbb9c0bed230d8db94d7444a90ca5ce199)
1/* $OpenBSD: conflex.c,v 1.7 2004/09/15 19:02:38 deraadt Exp $ */
2
3/* Lexical scanner for dhcpd config file... */
4
5/*-
6 * SPDX-License-Identifier: BSD-3-Clause
7 *
8 * Copyright (c) 1995, 1996, 1997 The Internet Software Consortium.

--- 510 unchanged lines hidden (view full) ---

519 if (!strcasecmp(atom + 1, "id"))
520 return (UID);
521 if (!strcasecmp(atom + 1, "nknown-clients"))
522 return (UNKNOWN_CLIENTS);
523 break;
524 case 'v':
525 if (!strcasecmp(atom + 1, "endor-class"))
526 return (VENDOR_CLASS);
1/* $OpenBSD: conflex.c,v 1.7 2004/09/15 19:02:38 deraadt Exp $ */
2
3/* Lexical scanner for dhcpd config file... */
4
5/*-
6 * SPDX-License-Identifier: BSD-3-Clause
7 *
8 * Copyright (c) 1995, 1996, 1997 The Internet Software Consortium.

--- 510 unchanged lines hidden (view full) ---

519 if (!strcasecmp(atom + 1, "id"))
520 return (UID);
521 if (!strcasecmp(atom + 1, "nknown-clients"))
522 return (UNKNOWN_CLIENTS);
523 break;
524 case 'v':
525 if (!strcasecmp(atom + 1, "endor-class"))
526 return (VENDOR_CLASS);
527 if (!strcasecmp(atom + 1, "lan-pcp"))
528 return (VLAN_PCP);
527 break;
528 case 'y':
529 if (!strcasecmp(atom + 1, "iaddr"))
530 return (YIADDR);
531 break;
532 }
533 return (dfv);
534}
529 break;
530 case 'y':
531 if (!strcasecmp(atom + 1, "iaddr"))
532 return (YIADDR);
533 break;
534 }
535 return (dfv);
536}