Copy from home:Marcus_H:branches:server:dns/nsd via accept of submit request 46948 revision 3. Request was accepted with message: reviewed ok OBS-URL: https://build.opensuse.org/request/show/46948 OBS-URL: https://build.opensuse.org/package/show/server:dns/nsd?expand=0&rev=14
14 lines
462 B
Diff
14 lines
462 B
Diff
Index: nsd.c
|
|
===================================================================
|
|
--- nsd.c.orig
|
|
+++ nsd.c
|
|
@@ -555,7 +555,7 @@ main (int argc, char *argv[])
|
|
if(nsd.options->pidfile) nsd.pidfile = nsd.options->pidfile;
|
|
else nsd.pidfile = PIDFILE;
|
|
}
|
|
- if(nsd.identity == hostname || nsd.identity == IDENTITY)
|
|
+ if(!strcmp(nsd.identity, hostname) || !strcmp(nsd.identity, IDENTITY))
|
|
{
|
|
if(nsd.options->identity) nsd.identity = nsd.options->identity;
|
|
}
|