examples/ipsec-secgw: use POSIX network address conversion
authorIbtisam Tariq <ibtisam.tariq@emumba.com>
Mon, 13 Jul 2020 09:57:30 +0000 (09:57 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 23 Oct 2020 09:02:13 +0000 (11:02 +0200)
commit4054466be9c64e72c37cffd840ab0f35a946a867
treebf6d905855e1d538821b2759dc7a5c982655d33a
parent03ef8c1b6b0db7cb666a4656c0c493330e217fb3
examples/ipsec-secgw: use POSIX network address conversion

inet_pton4 and inet_pton6 was reimplemented. Replace implementation of
inet_pton4 and inet_pton6 with libc inet_pton function

Bugzilla ID: 365
Fixes: 0d547ed03717 ("examples/ipsec-secgw: support configuration file")

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
examples/ipsec-secgw/parser.c