diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2018-11-19 00:12:11 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-11-20 11:05:44 +0000 |
commit | 33b81da54acf1236cddf0716005c340f3402ff6d (patch) | |
tree | 25880bf6f88c5a16e733ce300f9c710cc472d130 /src/plugins/gbp/gbp_api.c | |
parent | 142eb8520041ece53d8d1e406bce0a6143a6e8d6 (diff) |
vom: Add support for redirect contracts in gbp
Change-Id: I18543785166811ddbd628d19065d3dfad3f948e9
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp_api.c')
-rw-r--r-- | src/plugins/gbp/gbp_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/gbp/gbp_api.c b/src/plugins/gbp/gbp_api.c index 6a000721a01..4402ec15b8c 100644 --- a/src/plugins/gbp/gbp_api.c +++ b/src/plugins/gbp/gbp_api.c @@ -718,6 +718,9 @@ gbp_hash_mode_decode (vl_api_gbp_hash_mode_t in, gbp_hash_mode_t * out) case GBP_API_HASH_MODE_DST_IP: *out = GBP_HASH_MODE_DST_IP; return (0); + case GBP_API_HASH_MODE_SYMMETRIC: + *out = GBP_HASH_MODE_SYMMETRIC; + return (0); } return (-2); |