diff options
author | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-08-29 01:52:29 +0200 |
---|---|---|
committer | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-08-29 02:16:52 +0200 |
commit | 6b3ee3a0b013e580abbce83ae46e4ed2bcf5f7a7 (patch) | |
tree | 0251b953373938ef887ff44d058a432f676b4e39 /isisd/isis_dynhn.c | |
parent | Handle hostname/domainname properly for FreeBSD (diff) | |
download | frr-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.c | 2 |
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; } |