From 9db3bb65f364f436ea48023db41bb240a8a4891b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 9 Oct 2006 00:22:32 +0000 Subject: [PATCH] add fix for olsrd hna announcements where the host part is not 0 SVN-Revision: 4976 --- net/olsrd/patches/150-hna_ip_fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/olsrd/patches/150-hna_ip_fix.patch diff --git a/net/olsrd/patches/150-hna_ip_fix.patch b/net/olsrd/patches/150-hna_ip_fix.patch new file mode 100644 index 0000000000..2f359a22a9 --- /dev/null +++ b/net/olsrd/patches/150-hna_ip_fix.patch @@ -0,0 +1,11 @@ +diff -ur olsrd.old/src/cfgparser/oparse.c olsrd.dev/src/cfgparser/oparse.c +--- olsrd.old/src/cfgparser/oparse.c 2006-01-01 17:15:57.000000000 +0100 ++++ olsrd.dev/src/cfgparser/oparse.c 2006-10-09 01:06:27.000000000 +0200 +@@ -1921,6 +1921,7 @@ + return -1; + } + h->netmask.v4 = in.s_addr; ++ h->net.v4 &= h->netmask.v4; + /* Queue */ + h->next = cnf->hna4_entries; + cnf->hna4_entries = h; -- 2.30.2