Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
From 687f41680d51585e9a5a135e39efee330588bea7 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Weber <matthew.weber@rockwellcollins.com>
|
||||
Date: Fri, 11 Sep 2015 12:49:30 -0500
|
||||
Subject: [PATCH 1/1] DVMRP report missing subnet
|
||||
|
||||
Accepted upstream and will be included in 3.9.8.
|
||||
https://github.com/troglobit/mrouted/commit/512af5ffe0f48ffa2ba3b45898c66c2a561a5c2d
|
||||
|
||||
A subnet is missing in the DVMRP report sent to it's neighbor after
|
||||
the initial probe occurs. The issue was with the traversal of a double
|
||||
linked list from end to start. Once the traversing pointer reaches
|
||||
the start of routing table for loop (condition) it would break and
|
||||
always drop the first subnet.
|
||||
|
||||
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
|
||||
---
|
||||
route.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/route.c b/route.c
|
||||
index f74e601..9fe779d 100644
|
||||
--- a/route.c
|
||||
+++ b/route.c
|
||||
@@ -1193,7 +1193,7 @@ static int report_chunk(int which_routes, struct rtentry *start_rt, vifi_t vifi,
|
||||
|
||||
p = send_buf + MIN_IP_HEADER_LEN + IGMP_MINLEN;
|
||||
|
||||
- for (r = start_rt; r != routing_table; r = r->rt_prev) {
|
||||
+ for (r = start_rt; r != NULL; r = r->rt_prev) {
|
||||
if (which_routes == CHANGED_ROUTES && !(r->rt_flags & RTF_CHANGED)) {
|
||||
nrt++;
|
||||
continue;
|
||||
--
|
||||
1.9.1
|
||||
|
||||
10
deprecated/firmware/buildroot/package/mrouted/Config.in
Normal file
10
deprecated/firmware/buildroot/package/mrouted/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_MROUTED
|
||||
bool "mrouted"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
An implementation of the DVMRP multicast routing protocol.
|
||||
|
||||
If built with uClibc, then UCLIBC_SUPPORT_AI_ADDRCONFIG is
|
||||
needed in uClibc configuration.
|
||||
|
||||
http://github.com/troglobit/mrouted
|
||||
27
deprecated/firmware/buildroot/package/mrouted/mrouted.mk
Normal file
27
deprecated/firmware/buildroot/package/mrouted/mrouted.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# mrouted
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MROUTED_VERSION = 3.9.7
|
||||
MROUTED_SITE = $(call github,troglobit,mrouted,$(MROUTED_VERSION))
|
||||
MROUTED_DEPENDENCIES = host-bison
|
||||
MROUTED_LICENSE = BSD-3c
|
||||
MROUTED_LICENSE_FILES = LICENSE
|
||||
|
||||
define MROUTED_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_MAKE_ENV) $(@D)/configure --enable-rsrr \
|
||||
)
|
||||
endef
|
||||
|
||||
define MROUTED_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define MROUTED_INSTALL_TARGET_CMDS
|
||||
$(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user