Skip to content

Commit aee09fe

Browse files
committed
srv6: change tunsrc nexthop origin to internal
This nexthop should not be exposed in the API notifications. Signed-off-by: Robin Jarry <rjarry@redhat.com>
1 parent 95c9f6f commit aee09fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/srv6/control/route.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ static struct api_out srv6_tunsrc_set(const void *request, struct api_ctx *ctx)
277277
.iface_id = GR_IFACE_ID_UNDEF,
278278
.ipv6 = req->addr,
279279
.prefixlen = 128,
280-
.origin = GR_NH_ORIGIN_LINK,
280+
.origin = GR_NH_ORIGIN_INTERNAL,
281281
};
282282

283283
if ((nh = nexthop_new(&base)) == NULL)

0 commit comments

Comments
 (0)