summaryrefslogtreecommitdiffstats
path: root/zebra/router-id.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/router-id.c')
-rw-r--r--zebra/router-id.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/router-id.c b/zebra/router-id.c
index 3d6b511c..72747bd9 100644
--- a/zebra/router-id.c
+++ b/zebra/router-id.c
@@ -1,7 +1,7 @@
/*
* Router ID for zebra daemon.
*
- * Copyright (C) 2004 James R. Leu
+ * Copyright (C) 2004 James R. Leu
*
* This file is part of Quagga routing suite.
*
@@ -66,11 +66,11 @@ router_id_bad_address (struct connected *ifc)
{
if (ifc->address->family != AF_INET)
return 1;
-
+
/* non-redistributable addresses shouldn't be used for RIDs either */
if (!zebra_check_addr (ifc->address))
return 1;
-
+
return 0;
}
@@ -134,7 +134,7 @@ router_id_add_address (struct connected *ifc)
l = &rid_lo_sorted_list;
else
l = &rid_all_sorted_list;
-
+
if (!router_id_find_node (l, ifc))
listnode_add_sort (l, ifc);