summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorpaul <paul>2006-12-08 01:09:50 +0000
committerpaul <paul>2006-12-08 01:09:50 +0000
commit94e86481724f54cd0bb3a3cc16d37bdfaa5eb186 (patch)
tree25f7a59d038ff4a57f6e49a6a2808dc0b7b9cdaf /isisd/isis_lsp.c
parent4a374e82700075fd05c7b84851f523a05a8c0a33 (diff)
downloadquagga-94e86481724f54cd0bb3a3cc16d37bdfaa5eb186.tar.bz2
quagga-94e86481724f54cd0bb3a3cc16d37bdfaa5eb186.tar.xz
[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];