]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6d.h
eigrpd: eigrp usage of uint32_t to struct in_addr for router_id data
[mirror_frr.git] / ospf6d / ospf6d.h
index 77a40eac63f60a441cee57d604a7b909dd77ea8e..36f3c2233f77a8dced09fd94d240da8a1c55c622 100644 (file)
@@ -72,12 +72,12 @@ extern struct thread_master *master;
 
 #define threadtimer_string(now, t, buf, size)                                  \
        do {                                                                   \
-               struct timeval result;                                         \
+               struct timeval _result;                                        \
                if (!t)                                                        \
                        snprintf(buf, size, "inactive");                       \
                else {                                                         \
-                       timersub(&t->u.sands, &now, &result);                  \
-                       timerstring(&result, buf, size);                       \
+                       timersub(&t->u.sands, &now, &_result);                 \
+                       timerstring(&_result, buf, size);                      \
                }                                                              \
        } while (0)
 
@@ -94,6 +94,7 @@ extern struct thread_master *master;
                return CMD_SUCCESS;                                            \
        }
 
+extern struct zebra_privs_t ospf6d_privs;
 
 /* Function Prototypes */
 extern struct route_node *route_prev(struct route_node *node);