From 02bc14da19ad165173ac9ae1c5e26ed9391d3f71 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Wed, 7 Apr 2021 09:21:41 -0600 Subject: [PATCH] interface-file: fix mapping of leasetime to dhcp-leasetime --- libifupdown/interface-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libifupdown/interface-file.c b/libifupdown/interface-file.c index 79f6ab9..b70c514 100644 --- a/libifupdown/interface-file.c +++ b/libifupdown/interface-file.c @@ -71,7 +71,7 @@ static const struct remap_token tokens[] = { {"hardware-irq-coalesce-tx-usecs-low", "ethtool-coalesce-tx-usecs-low"}, /* Debian ethtool integration */ {"hostname", "dhcp-hostname"}, /* legacy ifupdown */ {"key", "tunnel-key"}, /* legacy ifupdown */ - {"leasetime", "dhcp-leastime"}, /* legacy ifupdown */ + {"leasetime", "dhcp-leasetime"}, /* legacy ifupdown */ {"link-autoneg", "ethtool-ethernet-autoneg"}, /* ifupdown2 */ {"link-duplex", "ethtool-link-duplex"}, /* Debian ethtool integration */ {"link-fec", "ethtool-link-fec"}, /* ifupdown2 */