summaryrefslogtreecommitdiff
path: root/isisd/isis_misc.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-24 10:45:28 +0000
committerhasso <hasso>2004-09-24 10:45:28 +0000
commit73d1aeada73abf3ca803aea074a1da5c264bf86e (patch)
tree3abea0ade03efc70d7d0b9892543cf1bf41edba7 /isisd/isis_misc.c
parent26f7a244d0f7e6a658cc48b88613b6919a6f5fbe (diff)
* isisd.c: thread_master *master is already defined in isis_main.c.
* isis_misc.[c|h], isis_lsp.[c|h]: Move static variables out of header files.
Diffstat (limited to 'isisd/isis_misc.c')
-rw-r--r--isisd/isis_misc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/isisd/isis_misc.c b/isisd/isis_misc.c
index 7fe5286f..51c4d929 100644
--- a/isisd/isis_misc.c
+++ b/isisd/isis_misc.c
@@ -46,6 +46,21 @@
#include "isisd/isis_constants.h"
#include "isisd/isis_adjacency.h"
+/* staticly assigned vars for printing purposes */
+struct in_addr new_prefix;
+/* len of xxxx.xxxx.xxxx + place for #0 termination */
+char sysid[15];
+/* len of xxxx.xxxx.xxxx + place for #0 termination */
+char snpa[15];
+/* len of xx.xxxx.xxxx.xxxx.xxxx.xxxx.xxxx.xxxx.xxxx.xxxx.xx */
+char isonet[51];
+/* + place for #0 termination */
+/* len of xxxx.xxxx.xxxx.xx.xx + place for #0 termination */
+char lspid[21];
+/* len of xxYxxMxWxdxxhxxmxxs + place for #0 termination */
+char datestring[20];
+char nlpidstring[30];
+
/*
* This converts the isonet to its printable format
*/