void
bgp_attr_init (void)
{
- void attrhash_init ();
-
aspath_init ();
attrhash_init ();
community_init ();
vty_out (vty, "%12llu%s", ts.counts[i], VTY_NEWLINE);
if (ts.counts[BGP_STATS_MAXBITLEN] < 9)
break;
- vty_out (vty, "%30s: ", "\% announced ");
+ vty_out (vty, "%30s: ", "%% announced ");
vty_out (vty, "%12.2f%s",
100 * (float)ts.counts[BGP_STATS_SPACE] /
(float)((uint64_t)1UL << ts.counts[BGP_STATS_MAXBITLEN]),
{
if (sockunion_same (su, &peer->su))
return RMAP_MATCH;
-
- return RMAP_NOMATCH;
}
+ return RMAP_NOMATCH;
}
}
return RMAP_NOMATCH;
"Match advertising source address of route\n"
"IP access-list number\n"
"IP access-list number (expanded range)\n"
- "IP standard access-list name\n");
+ "IP standard access-list name\n")
DEFUN (match_ip_address_prefix_list,
match_ip_address_prefix_list_cmd,
IP_STR
"Match advertising source address of route\n"
"Match entries of prefix-lists\n"
- "IP prefix-list name\n");
+ "IP prefix-list name\n")
DEFUN (match_metric,
match_metric_cmd,
*/
#include <zebra.h>
+#include <log.h>
#ifndef HAVE_DAEMON
}
/* Return string of filter_type. */
-const static char *
+static const char *
filter_type_str (struct filter *filter)
{
switch (filter->type)
#ifndef SUNOS_5
#include <sys/un.h>
#endif
+/* for printstack on solaris */
+#ifdef HAVE_UCONTEXT_H
+#include <ucontext.h>
+#endif
static int logfile_fd = -1; /* Used in signal handler. */
}
/* Return string of prefix_list_type. */
-const static char *
+static const char *
prefix_list_type_str (struct prefix_list_entry *pentry)
{
switch (pentry->type)
counter++;
return 0;
-};
+}
/* This thread handles asynchronous messages coming in from the OSPF
},
};
-const static char *ospf_ism_event_str[] =
+static const char *ospf_ism_event_str[] =
{
"NoEvent",
"InterfaceUp",
},
};
-const static char *ospf_nsm_event_str[] =
+static const char *ospf_nsm_event_str[] =
{
"NoEvent",
"HelloReceived",
#include "ospfd/ospf_dump.h"
\f
-const static char *ospf_network_type_str[] =
+static const char *ospf_network_type_str[] =
{
"Null",
"POINTOPOINT",
#ifndef _ZEBRA_RTADV_H
#define _ZEBRA_RTADV_H
+#include "vty.h"
#include "zebra/interface.h"
/* Router advertisement prefix. */