mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 13:28:14 +00:00
Dump DHCP request type at LOG_INFO level instead of LOG_DEBUG
This commit is contained in:
parent
7e7af53b9b
commit
f9a32ee9b4
10
dhcp.c
10
dhcp.c
@ -83,7 +83,7 @@ void dhcpdiscover (packet)
|
|||||||
{
|
{
|
||||||
struct lease *lease = find_lease (packet);
|
struct lease *lease = find_lease (packet);
|
||||||
|
|
||||||
debug ("Received DHCPDISCOVER from %s",
|
note ("Received DHCPDISCOVER from %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr));
|
packet -> raw -> chaddr));
|
||||||
@ -121,7 +121,7 @@ void dhcprequest (packet)
|
|||||||
memcpy (cip.iabuf, &packet -> raw -> ciaddr.s_addr, 4);
|
memcpy (cip.iabuf, &packet -> raw -> ciaddr.s_addr, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
debug ("Received DHCPREQUEST from %s for %s",
|
note ("Received DHCPREQUEST from %s for %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
@ -179,7 +179,7 @@ void dhcprelease (packet)
|
|||||||
{
|
{
|
||||||
struct lease *lease = find_lease (packet);
|
struct lease *lease = find_lease (packet);
|
||||||
|
|
||||||
debug ("Received DHCPRELEASE from %s for %s",
|
note ("Received DHCPRELEASE from %s for %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
@ -206,7 +206,7 @@ void dhcpdecline (packet)
|
|||||||
cip.len = 0;
|
cip.len = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
debug ("Received DHCPDECLINE from %s for %s",
|
note ("Received DHCPDECLINE from %s for %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
@ -221,7 +221,7 @@ void dhcpdecline (packet)
|
|||||||
void dhcpinform (packet)
|
void dhcpinform (packet)
|
||||||
struct packet *packet;
|
struct packet *packet;
|
||||||
{
|
{
|
||||||
debug ("Received DHCPINFORM from %s for %s",
|
note ("Received DHCPINFORM from %s for %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
|
@ -83,7 +83,7 @@ void dhcpdiscover (packet)
|
|||||||
{
|
{
|
||||||
struct lease *lease = find_lease (packet);
|
struct lease *lease = find_lease (packet);
|
||||||
|
|
||||||
debug ("Received DHCPDISCOVER from %s",
|
note ("Received DHCPDISCOVER from %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr));
|
packet -> raw -> chaddr));
|
||||||
@ -121,7 +121,7 @@ void dhcprequest (packet)
|
|||||||
memcpy (cip.iabuf, &packet -> raw -> ciaddr.s_addr, 4);
|
memcpy (cip.iabuf, &packet -> raw -> ciaddr.s_addr, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
debug ("Received DHCPREQUEST from %s for %s",
|
note ("Received DHCPREQUEST from %s for %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
@ -179,7 +179,7 @@ void dhcprelease (packet)
|
|||||||
{
|
{
|
||||||
struct lease *lease = find_lease (packet);
|
struct lease *lease = find_lease (packet);
|
||||||
|
|
||||||
debug ("Received DHCPRELEASE from %s for %s",
|
note ("Received DHCPRELEASE from %s for %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
@ -206,7 +206,7 @@ void dhcpdecline (packet)
|
|||||||
cip.len = 0;
|
cip.len = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
debug ("Received DHCPDECLINE from %s for %s",
|
note ("Received DHCPDECLINE from %s for %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
@ -221,7 +221,7 @@ void dhcpdecline (packet)
|
|||||||
void dhcpinform (packet)
|
void dhcpinform (packet)
|
||||||
struct packet *packet;
|
struct packet *packet;
|
||||||
{
|
{
|
||||||
debug ("Received DHCPINFORM from %s for %s",
|
note ("Received DHCPINFORM from %s for %s",
|
||||||
print_hw_addr (packet -> raw -> htype,
|
print_hw_addr (packet -> raw -> htype,
|
||||||
packet -> raw -> hlen,
|
packet -> raw -> hlen,
|
||||||
packet -> raw -> chaddr),
|
packet -> raw -> chaddr),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user