summaryrefslogtreecommitdiff
path: root/zebra/router-id.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/router-id.c')
-rw-r--r--zebra/router-id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/router-id.c b/zebra/router-id.c
index 82f5a105f4..3277dd1780 100644
--- a/zebra/router-id.c
+++ b/zebra/router-id.c
@@ -230,7 +230,7 @@ DEFUN (router_id,
rid.family = AF_INET;
if (argc > 1)
- VTY_GET_INTEGER ("VRF ID", vrf_id, argv[1]);
+ VRF_GET_ID (vrf_id, argv[1]);
router_id_set (&rid, vrf_id);
@@ -258,7 +258,7 @@ DEFUN (no_router_id,
rid.family = AF_INET;
if (argc > 1)
- VTY_GET_INTEGER ("VRF ID", vrf_id, argv[1]);
+ VRF_GET_ID (vrf_id, argv[1]);
router_id_set (&rid, vrf_id);