diff options
| author | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-08-28 16:52:29 -0700 | 
|---|---|---|
| committer | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-08-28 17:16:52 -0700 | 
| commit | 6b3ee3a0b013e580abbce83ae46e4ed2bcf5f7a7 (patch) | |
| tree | 0251b953373938ef887ff44d058a432f676b4e39 /isisd/isis_dynhn.c | |
| parent | 0802e118dd634b37d580effb7e5df4d4c26fa35c (diff) | |
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 40ac1919fd..17b043444c 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;  }  | 
