diff options
Diffstat (limited to 'isisd/isis_misc.c')
| -rw-r--r-- | isisd/isis_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_misc.c b/isisd/isis_misc.c index 27425f24a4..6e9cbaf98e 100644 --- a/isisd/isis_misc.c +++ b/isisd/isis_misc.c @@ -447,7 +447,7 @@ const char *print_sys_hostname(const uint8_t *sysid) /* For our system ID return our host name */ isis = isis_lookup_by_sysid(sysid); - if (isis) + if (isis && !CHECK_FLAG(im->options, F_ISIS_UNIT_TEST)) return cmd_hostname_get(); dyn = dynhn_find_by_id(sysid); |
