Skip to content

Commit

Permalink
Merge pull request FRRouting#16319 from FRRouting/mergify/bp/stable/1…
Browse files Browse the repository at this point in the history
…0.0/pr-16233

ripd/ripd.c - rip_auth_md5 : Change the start value of sequence 1 to 0 (backport FRRouting#16233)
  • Loading branch information
riw777 authored Jul 2, 2024
2 parents a9cb4fd + 039a0ac commit f5a29e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ripd/ripd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ static size_t rip_auth_md5_ah_write(struct stream *s, struct rip_interface *ri,
/* RFC2080: The value used in the sequence number is
arbitrary, but two suggestions are the time of the
message's creation or a simple message counter. */
stream_putl(s, ++seq);
stream_putl(s, seq++);

/* Reserved field must be zero. */
stream_putl(s, 0);
Expand Down

0 comments on commit f5a29e0

Please sign in to comment.