Deleted Added
sdiff udiff text old ( 147686 ) new ( 147689 )
full compact
1/* $OpenBSD: dhclient.c,v 1.63 2005/02/06 17:10:13 krw Exp $ */
2/* $FreeBSD: head/sbin/dhclient/dhclient.c 147686 2005-06-30 05:32:42Z brooks $ */
3
4/*
5 * Copyright 2004 Henning Brauer <henning@openbsd.org>
6 * Copyright (c) 1995, 1996, 1997, 1998, 1999
7 * The Internet Software Consortium. All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions

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

2223 case DHO_SWAP_SERVER:
2224 case DHO_BROADCAST_ADDRESS:
2225 case DHO_NIS_SERVERS:
2226 case DHO_NTP_SERVERS:
2227 case DHO_NETBIOS_NAME_SERVERS:
2228 case DHO_NETBIOS_DD_SERVER:
2229 case DHO_FONT_SERVERS:
2230 case DHO_DHCP_SERVER_IDENTIFIER:
2231 if (!ipv4addrs(opbuf)) {
2232 warning("Invalid IP address in option: %s", opbuf);
2233 return (0);
2234 }
2235 return (1) ;
2236 case DHO_HOST_NAME:
2237 case DHO_NIS_DOMAIN:
2238 if (!res_hnok(sbuf)) {

--- 177 unchanged lines hidden ---