openbsd-ports/net/gdnsd/patches/patch-src_conf_c
2016-06-23 16:15:58 +00:00

13 lines
488 B
Plaintext

$OpenBSD: patch-src_conf_c,v 1.1 2016/06/23 16:15:58 sthen Exp $
--- src/conf.c.orig Thu Jun 23 16:40:28 2016
+++ src/conf.c Thu Jun 23 16:40:38 2016
@@ -38,7 +38,7 @@
// Global config, read-only
const cfg_t* gcfg = NULL;
-static const char DEF_USERNAME[] = PACKAGE_NAME;
+static const char DEF_USERNAME[] = "_gdnsd";
// just needs 16-bit rdlen followed by TXT strings with length byte prefixes...
static const uint8_t chaos_prefix[] = "\xC0\x0C\x00\x10\x00\x03\x00\x00\x00\x00";