From 8d9c367780951d9faa15136abc018c6bd11bccdf Mon Sep 17 00:00:00 2001 From: lijunjie Date: Mon, 7 Jan 2019 11:05:24 +0800 Subject: [PATCH] Fix the misspelling of "interface" Change-Id: I7d31ec78de5422fbb408bcda215953b4886391c2 --- dragonflow/controller/apps/dhcp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dragonflow/controller/apps/dhcp.py b/dragonflow/controller/apps/dhcp.py index da4817649..f2489b4a0 100644 --- a/dragonflow/controller/apps/dhcp.py +++ b/dragonflow/controller/apps/dhcp.py @@ -264,8 +264,8 @@ class DHCPApp(df_base_app.DFlowApp): options_dict[dhcp.DHCP_GATEWAY_ADDR_OPT] = gw_ip_bin if response_type == dhcp.DHCP_ACK: - intreface_mtu = self._get_port_mtu(lport) - mtu_bin = struct.pack('!H', intreface_mtu) + interface_mtu = self._get_port_mtu(lport) + mtu_bin = struct.pack('!H', interface_mtu) options_dict[dhcp.DHCP_INTERFACE_MTU_OPT] = mtu_bin return options_dict