mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-12-05 22:18:35 +00:00
Modify and propagate changed lease.
If hostname is reset on existing lease, propagate such change to leases file and script.
This commit is contained in:
1 parent
cb6d06bb54
commit
0c95a5ff53
1 file changed
+1
@@ -1021,6 +1021,7 @@ void lease_set_hostname(struct dhcp_lease *lease, const char *name, int auth, ch
|
|||||||
}
|
}
|
||||||
|
|
||||||
kill_name(lease_tmp);
|
kill_name(lease_tmp);
|
||||||
|
lease_tmp->flags |= LEASE_CHANGED; /* run script on change */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user