Note that dhcp_lease_time and dhcp_release only work for IPv4.

This commit is contained in:
Simon Kelley
2013-04-23 10:58:35 +01:00
parent a66d36ea11
commit 1c10b9de11
2 changed files with 6 additions and 2 deletions

View File

@@ -12,9 +12,11 @@ If an error occurs or no lease exists for the given address,
nothing is sent to stdout a message is sent to stderr and a nothing is sent to stdout a message is sent to stderr and a
non-zero error code is returned. non-zero error code is returned.
Requires dnsmasq 2.40 or later and may not work with other DHCP servers. Requires dnsmasq 2.67 or later and may not work with other DHCP servers.
The address argument is a dotted-quad IP addresses and mandatory. The address argument is a dotted-quad IP addresses and mandatory.
.SH LIMITATIONS
Only works with IPv4 addresses and DHCP leases.
.SH SEE ALSO .SH SEE ALSO
.BR dnsmasq (8) .BR dnsmasq (8)
.SH AUTHOR .SH AUTHOR

View File

@@ -27,6 +27,8 @@ for ethernet. This encoding is the one used in dnsmasq lease files.
The client-id is optional. If it is "*" then it treated as being missing. The client-id is optional. If it is "*" then it treated as being missing.
.SH NOTES .SH NOTES
MUST be run as root - will fail otherwise. MUST be run as root - will fail otherwise.
.SH LIMITATIONS
Only usable on IPv4 DHCP leases.
.SH SEE ALSO .SH SEE ALSO
.BR dnsmasq (8) .BR dnsmasq (8)
.SH AUTHOR .SH AUTHOR