diff options
Diffstat (limited to 'ripd/ripd.c')
| -rw-r--r-- | ripd/ripd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index 8c0470e64e..ee7dfc3cba 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; |
