diff options
author | Aakash Sasidharan <asasidharan@marvell.com> | 2021-01-06 02:44:46 +0000 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-02-04 14:54:44 +0200 |
commit | afd39af41057246799275caa90d92f3a564670e8 (patch) | |
tree | 93bff734d3a7bca9288ec2e8daca0caccbcb1547 /example/ipsec_crypto/odp_ipsec_fwd_db.h | |
parent | 2010f8f62a58d032c3f1ec3987200e5101284eb1 (diff) |
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 <asasidharan@marvell.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Diffstat (limited to 'example/ipsec_crypto/odp_ipsec_fwd_db.h')
-rw-r--r-- | example/ipsec_crypto/odp_ipsec_fwd_db.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |