"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "relay/dhcrelay.c" between
dhcp-4.3.6.tar.gz and dhcp-4.3.6-P1.tar.gz

About: ISC DHCP implements the "Dynamic Host Configuration Protocols" for connection to a local network. 4.3.x release series.

dhcrelay.c  (dhcp-4.3.6):dhcrelay.c  (dhcp-4.3.6-P1)
/* dhcrelay.c /* dhcrelay.c
DHCP/BOOTP Relay Agent. */ DHCP/BOOTP Relay Agent. */
/* /*
* Copyright(c) 2004-2017 by Internet Systems Consortium, Inc.("ISC") * Copyright(c) 2004-2018 by Internet Systems Consortium, Inc.("ISC")
* Copyright(c) 1997-2003 by Internet Software Consortium * Copyright(c) 1997-2003 by Internet Software Consortium
* *
* Permission to use, copy, modify, and distribute this software for any * Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies. * copyright notice and this permission notice appear in all copies.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
skipping to change at line 142 skipping to change at line 142
struct in_addr); struct in_addr);
static int find_interface_by_agent_option(struct dhcp_packet *, static int find_interface_by_agent_option(struct dhcp_packet *,
struct interface_info **, u_int8_t *, int); struct interface_info **, u_int8_t *, int);
static int strip_relay_agent_options(struct interface_info *, static int strip_relay_agent_options(struct interface_info *,
struct interface_info **, struct interface_info **,
struct dhcp_packet *, unsigned); struct dhcp_packet *, unsigned);
static void request_v4_interface(const char* name, int flags); static void request_v4_interface(const char* name, int flags);
static const char copyright[] = static const char copyright[] =
"Copyright 2004-2017 Internet Systems Consortium."; "Copyright 2004-2018 Internet Systems Consortium.";
static const char arr[] = "All rights reserved."; static const char arr[] = "All rights reserved.";
static const char message[] = static const char message[] =
"Internet Systems Consortium DHCP Relay Agent"; "Internet Systems Consortium DHCP Relay Agent";
static const char url[] = static const char url[] =
"For info, please visit https://www.isc.org/software/dhcp/"; "For info, please visit https://www.isc.org/software/dhcp/";
char *progname; char *progname;
#ifdef DHCPv6 #ifdef DHCPv6
#define DHCRELAY_USAGE \ #define DHCRELAY_USAGE \
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)