summaryrefslogtreecommitdiff
path: root/net/irrd/files/patch-config_file.c
diff options
context:
space:
mode:
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);
+ }