summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-09-30 09:17:59 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-09-30 09:17:59 +0200
commit4b19f5d7fa199439db85b4f8144fcde34da5617d (patch)
tree8533a376c66f02d6b7d85111b21213d1cf5748f9
parente86c874dbf0f88798688b5d7244e133c13e4a535 (diff)
downloaddyndhcpd-4b19f5d7fa199439db85b4f8144fcde34da5617d.tar.gz
dyndhcpd-4b19f5d7fa199439db85b4f8144fcde34da5617d.tar.zst
declare domainname const
-rw-r--r--dyndhcpd.c2
1 files changed, 1 insertions, 1 deletions
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;