diff options
Diffstat (limited to 'isisd/isis_misc.c')
| -rw-r--r-- | isisd/isis_misc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/isisd/isis_misc.c b/isisd/isis_misc.c index 4a490ab5ac..7c6d600362 100644 --- a/isisd/isis_misc.c +++ b/isisd/isis_misc.c @@ -294,6 +294,19 @@ const char *syst2string(int type) return NULL; /* not reached */ } +const char *isis_hello_padding2string(int hello_padding_type) +{ + switch (hello_padding_type) { + case ISIS_HELLO_PADDING_DISABLED: + return "no"; + case ISIS_HELLO_PADDING_SOMETIMES: + return "sometimes"; + case ISIS_HELLO_PADDING_ALWAYS: + return "yes"; + } + return NULL; /* not reached */ +} + /* * Print functions - we print to static vars */ |
