summaryrefslogtreecommitdiff
path: root/net/irrd/files/patch-config_file.c
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2014-09-02 18:01:38 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2014-09-02 18:01:38 +0000
commita5a9cdf79fb052ed4da0fd53782135888e5c21c1 (patch)
tree4936c966f3244f3f12a68dcc37df309d1f04aecf /net/irrd/files/patch-config_file.c
parentFix syntax of USES=pgsql (diff)
- Resurrect net/irrd with stagify.
- Take maintainership. - Strip installed binary. - Use shebangfix for perl scripts.
Notes
Notes: svn path=/head/; revision=367069
Diffstat (limited to 'net/irrd/files/patch-config_file.c')
-rw-r--r--net/irrd/files/patch-config_file.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/irrd/files/patch-config_file.c b/net/irrd/files/patch-config_file.c
new file mode 100644
index 000000000000..52723b198ac9
--- /dev/null
+++ b/net/irrd/files/patch-config_file.c
@@ -0,0 +1,11 @@
+--- lib/config/config_file.c.orig 2009-03-25 00:38:11.000000000 +0300
++++ lib/config/config_file.c 2011-06-24 17:09:08.000000000 +0400
+@@ -772,7 +772,7 @@
+ Deref_Prefix (prefix);
+ return (1);
+ }
+- if (prefix_compare2 (UII->prefix, prefix) != 0) {
++ if ( UII->prefix == NULL || prefix_compare2 (UII->prefix, prefix) != 0) {
+ set_uii (UII, UII_ADDR, prefix, 0);
+ listen_uii2 (NULL);
+ }