summaryrefslogtreecommitdiffstats
path: root/src/usr/dhcpmgmt.c
diff options
context:
space:
mode:
authorAnselm Martin Hoffmeister2007-04-09 20:01:43 +0200
committerAnselm Martin Hoffmeister2007-04-09 20:01:43 +0200
commited7dc02a95026f85cdd4c2c350a034458343d340 (patch)
tree885147a1e94a401fe5716514f2d8a15fbaf6c980 /src/usr/dhcpmgmt.c
parenthoffmeis: Fixing situation where absence of a newdata() handler for UDP (diff)
downloadipxe-ed7dc02a95026f85cdd4c2c350a034458343d340.tar.gz
ipxe-ed7dc02a95026f85cdd4c2c350a034458343d340.tar.xz
ipxe-ed7dc02a95026f85cdd4c2c350a034458343d340.zip
hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewise
output buffering defintions and the like)
Diffstat (limited to 'src/usr/dhcpmgmt.c')
-rw-r--r--src/usr/dhcpmgmt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usr/dhcpmgmt.c b/src/usr/dhcpmgmt.c
index 060dd67e..7c15b5f9 100644
--- a/src/usr/dhcpmgmt.c
+++ b/src/usr/dhcpmgmt.c
@@ -37,6 +37,9 @@
/* Avoid dragging in dns.o */
struct in_addr nameserver;
+/* Avoid dragging in syslog.o */
+struct in_addr syslogserver;
+
/**
* Configure network device via DHCP
*
@@ -97,6 +100,8 @@ int dhcp ( struct net_device *netdev ) {
/* Retrieve other DHCP options that we care about */
find_dhcp_ipv4_option ( dhcp_options, DHCP_DNS_SERVERS,
&nameserver );
+ find_dhcp_ipv4_option ( dhcp_options, DHCP_LOG_SERVERS,
+ &syslogserver );
return 0;
}