summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Boncompte <jbonor@gmail.com>2017-07-25 12:32:20 +0200
committerJorge Boncompte <jbonor@gmail.com>2017-08-04 10:19:36 +0200
commit818c8515eed2f11a9e1dc055fa58701803f5dc58 (patch)
tree23de1c042cb0569e95b694d437be152949f33d82
parent8628fc612b25e6b92e69c0cd198f8696f6888632 (diff)
nhrp: initialize interfaces after VRFs
Interfaces depend logically of VRF, initialize one after another just in case in the future someone adds something to this functions. Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
-rw-r--r--nhrpd/nhrp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index 7c5d80336c..012d5cd87c 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -128,8 +128,8 @@ int main(int argc, char **argv)
/* Library inits. */
master = frr_init();
- nhrp_interface_init();
vrf_init(NULL, NULL, NULL, NULL);
+ nhrp_interface_init();
resolver_init();
/* Run with elevated capabilities, as for all netlink activity