summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-07-22 22:12:22 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-07-22 22:12:22 +0200
commit7ce2a26cd71e911aff90ff181555e8f362127a6c (patch)
tree0e19501d24b53e3d44eb7f07c5a76c7312884508 /ripd
parentptm-integration.patch (diff)
downloadfrr-7ce2a26cd71e911aff90ff181555e8f362127a6c.tar.xz
frr-7ce2a26cd71e911aff90ff181555e8f362127a6c.zip
Fixup of some last remaining differences between stg and git
Diffstat (limited to 'ripd')
-rw-r--r--ripd/ripd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 8c0470e64..ee7dfc3cb 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -2159,7 +2159,7 @@ rip_output_process (struct connected *ifc, struct sockaddr_in *to,
/* Reset stream and RTE counter. */
stream_reset (s);
- rtemax = RIP_MAX_RTE;
+ rtemax = (RIP_PACKET_MAXSIZ - 4) / 20;
/* Get RIP interface. */
ri = ifc->ifp->info;