From 4b19f5d7fa199439db85b4f8144fcde34da5617d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 30 Sep 2016 09:17:59 +0200 Subject: declare domainname const --- dyndhcpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyndhcpd.c b/dyndhcpd.c index 135a018..bee300a 100644 --- a/dyndhcpd.c +++ b/dyndhcpd.c @@ -42,7 +42,7 @@ int main(int argc, char ** argv) { char * interface = NULL; char hostname[HOST_NAME_MAX]; - char * domainname; + const char * domainname; struct hostent *hp; char * template = NULL; -- cgit v1.2.3-70-g09d2