summaryrefslogtreecommitdiffstats
path: root/isisd/isis_dynhn.c
diff options
context:
space:
mode:
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>2017-08-29 01:52:29 +0200
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>2017-08-29 02:16:52 +0200
commit6b3ee3a0b013e580abbce83ae46e4ed2bcf5f7a7 (patch)
tree0251b953373938ef887ff44d058a432f676b4e39 /isisd/isis_dynhn.c
parentHandle hostname/domainname properly for FreeBSD (diff)
downloadfrr-6b3ee3a0b013e580abbce83ae46e4ed2bcf5f7a7.tar.xz
frr-6b3ee3a0b013e580abbce83ae46e4ed2bcf5f7a7.zip
lib: new APIs for get/set system hostname/domainname
1. Change hostname_get to cmd_hostname_get 2. Change domainname_get to cmd_domainname_get 3. New API to set domainname 3. Provide a CLI command to set domainname Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_dynhn.c')
-rw-r--r--isisd/isis_dynhn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_dynhn.c b/isisd/isis_dynhn.c
index 40ac1919f..17b043444 100644
--- a/isisd/isis_dynhn.c
+++ b/isisd/isis_dynhn.c
@@ -146,6 +146,6 @@ void dynhn_print_all(struct vty *vty)
}
vty_out(vty, " * %s %s\n", sysid_print(isis->sysid),
- hostname_get());
+ cmd_hostname_get());
return;
}