Files
openwrt_deco_e4r/package/dnsmasq/patches/101-delete-leasetime-for-response-dhcpinform.patch

16 lines
538 B
Diff

--- a/src/rfc2131.c
+++ b/src/rfc2131.c
@@ -1,4 +1,5 @@
/* dnsmasq is Copyright (c) 2000-2014 Simon Kelley
+ Copyright (c) 2013 The Linux Foundation. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1436,6 +1437,5 @@ size_t dhcp_reply(struct dhcp_context *c
time = 0xffffffff;
else
time = (unsigned int)difftime(lease->expires, now);
- option_put(mess, end, OPTION_LEASE_TIME, 4, time);
}