[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions

[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions

[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions

[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions