From afd39af41057246799275caa90d92f3a564670e8 Mon Sep 17 00:00:00 2001 From: Aakash Sasidharan Date: Wed, 6 Jan 2021 02:44:46 +0000 Subject: example: ipsec: use comma as separator in args As part of -i option, interface name could be in PCI Domain Bus Device Function (DBDF) format to represent the device. Application will throw error during argument parsing as DBDF format itself contains colon(:). So updating parsing logic to use comma(,) as a separator instead of colon(:). Also updating MAC address representation to use colons as colon is no longer reserved for field separation. Signed-off-by: Aakash Sasidharan Reviewed-by: Janne Peltonen --- example/ipsec_crypto/odp_ipsec_fwd_db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/ipsec_crypto/odp_ipsec_fwd_db.h') diff --git a/example/ipsec_crypto/odp_ipsec_fwd_db.h b/example/ipsec_crypto/odp_ipsec_fwd_db.h index 278259729..46fda2b87 100644 --- a/example/ipsec_crypto/odp_ipsec_fwd_db.h +++ b/example/ipsec_crypto/odp_ipsec_fwd_db.h @@ -47,7 +47,7 @@ void init_fwd_db(void); /** * Create a forwarding database entry * - * String is of the format "SubNet:Intf:NextHopMAC" + * String is of the format "SubNet,Intf,NextHopMAC" * * @param input Pointer to string describing route * -- cgit v1.2.3