mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Order of fields in DHCPv6 log lines now consistent with DHCPv4
This commit is contained in:
@@ -1341,19 +1341,19 @@ static void log6_packet(char *type, unsigned char *clid, int clid_len, struct in
|
||||
daemon->dhcp_buff2[0] = 0;
|
||||
|
||||
if(option_bool(OPT_LOG_OPTS))
|
||||
my_syslog(MS_DHCP | LOG_INFO, "%u %s(%s) %s %s%s",
|
||||
my_syslog(MS_DHCP | LOG_INFO, "%u %s(%s) %s%s %s",
|
||||
xid,
|
||||
type,
|
||||
iface,
|
||||
daemon->namebuff,
|
||||
daemon->dhcp_buff2,
|
||||
daemon->namebuff,
|
||||
string ? string : "");
|
||||
else
|
||||
my_syslog(MS_DHCP | LOG_INFO, "%s(%s) %s %s%s",
|
||||
my_syslog(MS_DHCP | LOG_INFO, "%s(%s) %s%s %s",
|
||||
type,
|
||||
iface,
|
||||
daemon->namebuff,
|
||||
daemon->dhcp_buff2,
|
||||
daemon->namebuff,
|
||||
string ? string : "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user