2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Update for 19054 - modifications to keep GCC 4.3 happy

This commit is contained in:
Shawn Routhier
2009-01-22 00:43:58 +00:00
parent 5536fc37e3
commit ae56655628
12 changed files with 98 additions and 59 deletions

View File

@@ -3,7 +3,7 @@
DHCP/BOOTP Relay Agent. */
/*
* Copyright(c) 2004-2008 by Internet Systems Consortium, Inc.("ISC")
* Copyright(c) 2004-2009 by Internet Systems Consortium, Inc.("ISC")
* Copyright(c) 1997-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
@@ -126,10 +126,13 @@ static int strip_relay_agent_options(struct interface_info *,
struct interface_info **,
struct dhcp_packet *, unsigned);
static char copyright[] = "Copyright 2004-2008 Internet Systems Consortium.";
static char arr[] = "All rights reserved.";
static char message[] = "Internet Systems Consortium DHCP Relay Agent";
static char url[] = "For info, please visit http://www.isc.org/sw/dhcp/";
static const char copyright[] =
"Copyright 2004-2009 Internet Systems Consortium.";
static const char arr[] = "All rights reserved.";
static const char message[] =
"Internet Systems Consortium DHCP Relay Agent";
static const char url[] =
"For info, please visit http://www.isc.org/sw/dhcp/";
#ifdef DHCPv6
#define DHCRELAY_USAGE \
@@ -531,7 +534,7 @@ main(int argc, char **argv) {
close(2);
pid = setsid();
chdir("/");
IGNORE_RET (chdir("/"));
}
/* Set up the packet handler... */