#ifndef OSPF6D_H
#define OSPF6D_H
-#define OSPF6_DAEMON_VERSION "0.9.7r"
-
#include "libospf.h"
#include "thread.h"
#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)
return CMD_SUCCESS; \
}
+extern struct zebra_privs_t ospf6d_privs;
/* Function Prototypes */
extern struct route_node *route_prev(struct route_node *node);