diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-29 18:40:12 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-29 18:45:20 +0200 |
commit | 24512fbd1f9bf3f5dd89003607b1d802163b9f87 (patch) | |
tree | d82f0df2a4d253719802c27e0acc283c2b701c18 /lib/plist_int.h | |
parent | lib: convert plist data structures to using a bool (diff) | |
download | frr-24512fbd1f9bf3f5dd89003607b1d802163b9f87.tar.xz frr-24512fbd1f9bf3f5dd89003607b1d802163b9f87.zip |
lib: Convert internal sequence number to int64_t
With the usage of a 32 bit number as a integer, but storing
non-signed values in it, we have cases where numbers greater
than 2 billion are being read in and stored and used before
lower value numbers, which of course is awful and mean.
Fixes: #2126
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/plist_int.h')
-rw-r--r-- | lib/plist_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plist_int.h b/lib/plist_int.h index aa81a3bce..6bc2d034d 100644 --- a/lib/plist_int.h +++ b/lib/plist_int.h @@ -48,7 +48,7 @@ struct prefix_list { /* Each prefix-list's entry. */ struct prefix_list_entry { - int seq; + int64_t seq; int le; int ge; |