]> git.puffer.fish Git - mirror/frr.git/commitdiff
provide/use API to get hostname/domainname
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Mon, 21 Aug 2017 21:56:06 +0000 (14:56 -0700)
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Thu, 24 Aug 2017 23:44:31 +0000 (16:44 -0700)
Set default hostname in frr to unix hostname.
Provide APIs to get the hostname/domaninanme
Use this APIs where needed

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
lib/command.h

index 92220dd7b9dee36ba95c7dfb30a2b086a885aae6..70401eced0c2f48bb10a0f81fa42574042c9a28e 100644 (file)
@@ -41,7 +41,7 @@ struct host {
        /* Host name of this router. */
        char *name;
 
-       /* Domain name of this router */
+       /* Domainname of this router */
        char *domainname;
 
        /* Password for vty interface. */