From 6f9d219ae6cd65c8bdeda34f28805c7380ceed41 Mon Sep 17 00:00:00 2001 From: Mitesh Kanjariya Date: Mon, 21 Aug 2017 14:56:06 -0700 Subject: [PATCH] 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 --- lib/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.39.5