diff options
author | Vengada Govindan <venggovi@cisco.com> | 2016-08-25 10:34:34 -0700 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2016-09-06 18:53:51 +0000 |
commit | 07d2f84907e776383572fa5cc89071d90a8be36b (patch) | |
tree | 4b2ebf15f84d7e1724b9eca6fe1b329b1a251815 /plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c | |
parent | 5a1c11b53f60f4339e893b1a24cfc6515d2b08f7 (diff) |
Move iOAM Trace as a plugin
Change-Id: I78322e91485e5429871bd356f668b8ed90f4265a
Signed-off-by: Vengada Govindan <venggovi@cisco.com>
Diffstat (limited to 'plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c')
-rw-r--r-- | plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c b/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c index ec85ea72e5f..9daea9c058f 100644 --- a/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c +++ b/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c @@ -199,10 +199,10 @@ ip6_hbh_ioam_proof_of_transit_pop_handler (ip6_header_t *ip, return (rv); } -int ip6_hop_by_hop_ioam_pot_rewrite_handler (u8 *rewrite_string, u8 rewrite_size) +int ip6_hop_by_hop_ioam_pot_rewrite_handler (u8 *rewrite_string, u8 *rewrite_size) { ioam_pot_option_t * pot_option; - if (rewrite_string && rewrite_size == sizeof(ioam_pot_option_t)) + if (rewrite_string && *rewrite_size == sizeof(ioam_pot_option_t)) { pot_option = (ioam_pot_option_t *)rewrite_string; pot_option->hdr.type = HBH_OPTION_TYPE_IOAM_PROOF_OF_TRANSIT |