mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
libalias: Stats are unsigned
Stats counters are used as unsigned valued (i.e. printf("%u")) but are
defined as signed int. This causes trouble later, so fix it early.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30587
This commit is contained in:
parent
ed0a582d88
commit
3fd20a79e7
1 changed files with 8 additions and 8 deletions
|
|
@ -97,14 +97,14 @@ struct libalias {
|
|||
/* HouseKeeping */
|
||||
TAILQ_HEAD (, alias_link) checkExpire;
|
||||
/* Link statistics */
|
||||
int icmpLinkCount;
|
||||
int udpLinkCount;
|
||||
int tcpLinkCount;
|
||||
int pptpLinkCount;
|
||||
int protoLinkCount;
|
||||
int fragmentIdLinkCount;
|
||||
int fragmentPtrLinkCount;
|
||||
int sockCount;
|
||||
unsigned int icmpLinkCount;
|
||||
unsigned int udpLinkCount;
|
||||
unsigned int tcpLinkCount;
|
||||
unsigned int pptpLinkCount;
|
||||
unsigned int protoLinkCount;
|
||||
unsigned int fragmentIdLinkCount;
|
||||
unsigned int fragmentPtrLinkCount;
|
||||
unsigned int sockCount;
|
||||
/* System time in seconds for current packet */
|
||||
int timeStamp;
|
||||
/* If equal to zero, DeleteLink()
|
||||
|
|
|
|||
Loading…
Reference in a new issue