Blame SOURCES/dnsmasq-2.66-Note-that-dhcp_lease_time-and-dhcp_release-work-for-IPv4.patch

cab8d5
From 1c10b9de118c951a5aedc130e55101987dcc3feb Mon Sep 17 00:00:00 2001
cab8d5
From: Simon Kelley <simon@thekelleys.org.uk>
cab8d5
Date: Tue, 23 Apr 2013 10:58:35 +0100
cab8d5
Subject: [PATCH] Note that dhcp_lease_time and dhcp_release only work for
cab8d5
 IPv4.
cab8d5
cab8d5
---
cab8d5
 contrib/wrt/dhcp_lease_time.1 | 6 ++++--
cab8d5
 contrib/wrt/dhcp_release.1    | 2 ++
cab8d5
 2 files changed, 6 insertions(+), 2 deletions(-)
cab8d5
cab8d5
diff --git a/contrib/wrt/dhcp_lease_time.1 b/contrib/wrt/dhcp_lease_time.1
cab8d5
index 2720b71..2fa78d3 100644
cab8d5
--- a/contrib/wrt/dhcp_lease_time.1
cab8d5
+++ b/contrib/wrt/dhcp_lease_time.1
cab8d5
@@ -12,9 +12,11 @@ If an error occurs or no lease exists for the given address,
cab8d5
 nothing is sent to stdout a message is sent to stderr and a
cab8d5
 non-zero error code is returned.
cab8d5
 
cab8d5
-Requires dnsmasq 2.40 or later and may not work with other DHCP servers.
cab8d5
+Requires dnsmasq 2.66 or later and may not work with other DHCP servers.
cab8d5
 
cab8d5
-The address argument is a dotted-quad IP addresses and mandatory. 
cab8d5
+The address argument is a dotted-quad IP addresses and mandatory.
cab8d5
+.SH LIMITATIONS
cab8d5
+Only works with IPv4 addresses and DHCP leases. 
cab8d5
 .SH SEE ALSO
cab8d5
 .BR dnsmasq (8)
cab8d5
 .SH AUTHOR
cab8d5
diff --git a/contrib/wrt/dhcp_release.1 b/contrib/wrt/dhcp_release.1
cab8d5
index eb5307a..e71aba0 100644
cab8d5
--- a/contrib/wrt/dhcp_release.1
cab8d5
+++ b/contrib/wrt/dhcp_release.1
cab8d5
@@ -27,6 +27,8 @@ for ethernet. This encoding is the one used in dnsmasq lease files.
cab8d5
 The client-id is optional. If it is "*" then it treated as being missing.
cab8d5
 .SH NOTES
cab8d5
 MUST be run as root - will fail otherwise.
cab8d5
+.SH LIMITATIONS
cab8d5
+Only usable on IPv4 DHCP leases.
cab8d5
 .SH SEE ALSO
cab8d5
 .BR dnsmasq (8)
cab8d5
 .SH AUTHOR
cab8d5
-- 
cab8d5
1.8.1.4
cab8d5