summaryrefslogtreecommitdiff
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-12-08 01:09:50 +0000
committerPaul Jakma <paul.jakma@sun.com>2006-12-08 01:09:50 +0000
commit41b36e9013111a6da812ca000e3b978282bd27a9 (patch)
tree11805d66de677613be7fe5e31626cfbbbbec78a6 /isisd/isis_lsp.c
parent3c0755dc9772deccff2ba6e9dc0511a9af2b9d1b (diff)
[isisd] Fix compiler warnings and allow v4-only compilation
2006-12-08 Hannes Gredler <hannes@gredler.at> * 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.
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c2
1 files changed, 1 insertions, 1 deletions
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];