summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ripd/ripd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index f7d6d3d929..8032cf2ec5 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -2101,6 +2101,8 @@ void rip_output_process(struct connected *ifc, struct sockaddr_in *to,
/* to be passed to auth functions later */
rip_auth_prepare_str_send(ri, key, auth_str,
RIP_AUTH_SIMPLE_SIZE);
+ if (strlen(auth_str) == 0)
+ return;
}
if (version == RIPv1) {