hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewise

output buffering defintions and the like)
This commit is contained in:
Anselm Martin Hoffmeister
2007-04-09 18:01:43 +00:00
parent ff5aac826a
commit ed7dc02a95
5 changed files with 26 additions and 3 deletions

View File

@@ -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;
}