diff options
Diffstat (limited to 'zebra/router-id.c')
-rw-r--r-- | zebra/router-id.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/router-id.c b/zebra/router-id.c index 9891b6ce0..d5d9652c5 100644 --- a/zebra/router-id.c +++ b/zebra/router-id.c @@ -223,7 +223,7 @@ DEFUN (router_id, struct prefix rid; vrf_id_t vrf_id = VRF_DEFAULT; - rid.u.prefix4.s_addr = inet_addr (argv[0]->arg); + rid.u.prefix4.s_addr = inet_addr (argv[0]); if (!rid.u.prefix4.s_addr) return CMD_WARNING; @@ -231,7 +231,7 @@ DEFUN (router_id, rid.family = AF_INET; if (argc > 1) - VRF_GET_ID (vrf_id, argv[1]->arg); + VRF_GET_ID (vrf_id, argv[1]); router_id_set (&rid, vrf_id); @@ -259,7 +259,7 @@ DEFUN (no_router_id, rid.family = AF_INET; if (argc > 1) - VRF_GET_ID (vrf_id, argv[1]->arg); + VRF_GET_ID (vrf_id, argv[1]); router_id_set (&rid, vrf_id); |