diff options
| author | T-Nicolas <github@toselli.email> | 2024-06-17 15:05:58 +0200 | 
|---|---|---|
| committer | T-Nicolas <github@toselli.email> | 2024-06-27 10:42:48 +0200 | 
| commit | 1a64fe4254759245a67fb279d67478922e00255e (patch) | |
| tree | babaf562173176e10fb5a3f55c6a423461f3b43e /ripd | |
| parent | 045029e2442dbca3b6e7685438d171fa05c0f968 (diff) | |
ripd: Change the start value of sequence 1 to 0
Signed-off-by: T-Nicolas <github@toselli.email>
Diffstat (limited to 'ripd')
| -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 b8a140c9ca..ab4ffe5a92 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -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);  | 
