From: Mitesh Kanjariya Date: Mon, 21 Aug 2017 21:56:06 +0000 (-0700) Subject: provide/use API to get hostname/domainname X-Git-Tag: frr-4.0-dev~362^2~5 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=6f9d219ae6cd65c8bdeda34f28805c7380ceed41;p=mirror%2Ffrr.git provide/use API to get hostname/domainname 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 --- diff --git a/lib/command.h b/lib/command.h index 92220dd7b9..70401eced0 100644 --- a/lib/command.h +++ b/lib/command.h @@ -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. */