diff --git a/src/confd/src/ietf-interfaces.c b/src/confd/src/ietf-interfaces.c index a8da55c2..9fc4f5e7 100644 --- a/src/confd/src/ietf-interfaces.c +++ b/src/confd/src/ietf-interfaces.c @@ -152,7 +152,7 @@ static int ifchange_cand_infer_vlan(sr_session_ctx_t *session, const char *path) goto out_free_ifname; } - if (vid < 1 || vid > 4095) + if (vid < 1 || vid > 4094) goto out_free_ifname; err = srx_nitems(session, &cnt, "/interfaces/interface[name='%s']/name", ifname);