mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 16:01:38 +03:00
hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewise
output buffering defintions and the like)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user