diff options
Diffstat (limited to 'bgpd/rfapi/rfapi_vty.c')
| -rw-r--r-- | bgpd/rfapi/rfapi_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/rfapi/rfapi_vty.c b/bgpd/rfapi/rfapi_vty.c index e7314d2983..8d1b2b974e 100644 --- a/bgpd/rfapi/rfapi_vty.c +++ b/bgpd/rfapi/rfapi_vty.c @@ -4671,7 +4671,7 @@ static int vnc_add_vrf_prefix(struct vty *vty, const char *arg_vrf, arg_vrf); return CMD_WARNING_CONFIG_FAILED; } - if (!rfg->rd.family && !arg_rd) { + if (!rfg->rd.prefixlen && !arg_rd) { vty_out(vty, "VRF \"%s\" isn't configured with an RD, so RD must be provided.\n", arg_vrf); |
