Fix the misspelling of "interface"

Change-Id: I7d31ec78de5422fbb408bcda215953b4886391c2
This commit is contained in:
lijunjie 2019-01-07 11:05:24 +08:00
parent 70e731f8a1
commit 8d9c367780
1 changed files with 2 additions and 2 deletions

View File

@ -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