mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 14:55:30 +00:00
Update call to find_lease
This commit is contained in:
2
bootp.c
2
bootp.c
@@ -73,7 +73,7 @@ void bootp (packet)
|
|||||||
packet -> raw -> chaddr,
|
packet -> raw -> chaddr,
|
||||||
packet -> raw -> hlen);
|
packet -> raw -> hlen);
|
||||||
|
|
||||||
lease = find_lease (packet);
|
lease = find_lease (packet, packet -> shared_network);
|
||||||
|
|
||||||
/* Find an IP address in the host_decl that matches the
|
/* Find an IP address in the host_decl that matches the
|
||||||
specified network. */
|
specified network. */
|
||||||
|
@@ -73,7 +73,7 @@ void bootp (packet)
|
|||||||
packet -> raw -> chaddr,
|
packet -> raw -> chaddr,
|
||||||
packet -> raw -> hlen);
|
packet -> raw -> hlen);
|
||||||
|
|
||||||
lease = find_lease (packet);
|
lease = find_lease (packet, packet -> shared_network);
|
||||||
|
|
||||||
/* Find an IP address in the host_decl that matches the
|
/* Find an IP address in the host_decl that matches the
|
||||||
specified network. */
|
specified network. */
|
||||||
|
Reference in New Issue
Block a user