parse.c (147077) | parse.c (149399) |
---|---|
1/* $OpenBSD: parse.c,v 1.11 2004/05/05 23:07:47 deraadt Exp $ */ | 1/* $OpenBSD: parse.c,v 1.11 2004/05/05 23:07:47 deraadt Exp $ */ |
2/* $FreeBSD: head/sbin/dhclient/parse.c 147077 2005-06-07 04:14:54Z brooks $ */ | |
3 4/* Common parser code for dhcpd and dhclient. */ 5 6/* 7 * Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 36 * 37 * This software has been written for the Internet Software Consortium 38 * by Ted Lemon <mellon@fugue.com> in cooperation with Vixie 39 * Enterprises. To learn more about the Internet Software Consortium, 40 * see ``http://www.vix.com/isc''. To learn more about Vixie 41 * Enterprises, see ``http://www.vix.com''. 42 */ 43 | 2 3/* Common parser code for dhcpd and dhclient. */ 4 5/* 6 * Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 35 * 36 * This software has been written for the Internet Software Consortium 37 * by Ted Lemon <mellon@fugue.com> in cooperation with Vixie 38 * Enterprises. To learn more about the Internet Software Consortium, 39 * see ``http://www.vix.com/isc''. To learn more about Vixie 40 * Enterprises, see ``http://www.vix.com''. 41 */ 42 |
43#include <sys/cdefs.h> 44__FBSDID("$FreeBSD: head/sbin/dhclient/parse.c 149399 2005-08-23 23:59:55Z brooks $"); 45 |
|
44#include "dhcpd.h" 45#include "dhctoken.h" 46 47/* Skip to the semicolon ending the current statement. If we encounter 48 * braces, the matching closing brace terminates the statement. If we 49 * encounter a right brace but haven't encountered a left brace, return 50 * leaving the brace in the token buffer for the caller. If we see a 51 * semicolon and haven't seen a left brace, return. This lets us skip --- 527 unchanged lines hidden --- | 46#include "dhcpd.h" 47#include "dhctoken.h" 48 49/* Skip to the semicolon ending the current statement. If we encounter 50 * braces, the matching closing brace terminates the statement. If we 51 * encounter a right brace but haven't encountered a left brace, return 52 * leaving the brace in the token buffer for the caller. If we see a 53 * semicolon and haven't seen a left brace, return. This lets us skip --- 527 unchanged lines hidden --- |