examples/ipsec-secgw: fix --mtu option parsing
authorTao Zhu <taox.zhu@intel.com>
Thu, 18 Jul 2019 14:21:43 +0000 (14:21 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 19 Jul 2019 12:15:21 +0000 (14:15 +0200)
commit37a29f0039f4c52af9ef7f1c863eb7dc8a503066
tree947153d83053523d80f892d524f2ee40e8a7d036
parent186b14d6850654eb84a8ae9ea29b736f0ba5e093
examples/ipsec-secgw: fix --mtu option parsing

This patch add parameter --mtu parse key and enumeration value.

Fixes: b01d1cd213d2 ("examples/ipsec-secgw: support fragmentation and reassembly")

Signed-off-by: Tao Zhu <taox.zhu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
examples/ipsec-secgw/ipsec-secgw.c