diff options
author | Dave Barach <dave@barachs.net> | 2019-05-24 13:03:01 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-05-28 13:04:54 +0000 |
commit | 9080096f7c548415fc4d5354c7e582a3eda1a5ed (patch) | |
tree | 61ebd1313827b5788dd05df425992d750900079f /src/plugins/ioam/udp-ping/udp_ping_node.c | |
parent | 7704afe2c20a2c2a240874209b5803e22187b620 (diff) |
Add an ip6 local hop-by-hop protocol demux table
Add a minimal ip6 hbh header processing test.
ioam plugin: use ip6_local_hop_by_hop_register_protocol() in
udp_ping_init().
Please test the ioam plugin udp_ping path AYEC, so I can
publish the patch.
Change-Id: I74e35276d6c38c31022026cfd238fad5e4a54485
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/ioam/udp-ping/udp_ping_node.c')
-rw-r--r-- | src/plugins/ioam/udp-ping/udp_ping_node.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/ioam/udp-ping/udp_ping_node.c b/src/plugins/ioam/udp-ping/udp_ping_node.c index f48a15c7c0c..cf38bf6c46a 100644 --- a/src/plugins/ioam/udp-ping/udp_ping_node.c +++ b/src/plugins/ioam/udp-ping/udp_ping_node.c @@ -823,10 +823,8 @@ udp_ping_init (vlib_main_t * vm) udp_ping_main.vnet_main = vnet_get_main (); udp_ping_main.timer_interval = 1e9; - /* This steals MLDv2 listener reports. Disable until we properly handle - * hop-by-hop options in ip6-local */ - /* ip6_register_protocol (IP_PROTOCOL_IP6_HOP_BY_HOP_OPTIONS, - udp_ping_local.index); */ + ip6_local_hop_by_hop_register_protocol (IP_PROTOCOL_UDP, + udp_ping_local.index); return 0; } |