From 41b36e9013111a6da812ca000e3b978282bd27a9 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Fri, 8 Dec 2006 01:09:50 +0000 Subject: [isisd] Fix compiler warnings and allow v4-only compilation 2006-12-08 Hannes Gredler * isis_adjacency.c: (isis_new_adj) Allow NULL snpa argument. * isis_pdu.c: (various) Update calls to isis_new_adj() to pass NULL and use default. * (general) Add forward declarations where required. Fix up const char *'s. Allow V4-only compilation. --- isisd/isis_lsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isisd/isis_lsp.c') diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index 63f2b6b9..1a4deb1b 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -727,10 +727,10 @@ lsp_print_detail (dnode_t * node, struct vty *vty, char dynhost) #ifdef HAVE_IPV6 struct ipv6_reachability *ipv6_reach; struct in6_addr in6; + u_char buff[BUFSIZ]; #endif u_char LSPid[255]; u_char hostname[255]; - u_char buff[BUFSIZ]; u_char ipv4_reach_prefix[20]; u_char ipv4_reach_mask[20]; u_char ipv4_address[20]; -- cgit v1.2.1