]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
redis: Change port type to uint16_t
authorShivani Bhardwaj <shivanib134@gmail.com>
Tue, 12 May 2020 18:50:37 +0000 (00:20 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Wed, 17 Jun 2020 14:08:11 +0000 (19:38 +0530)
src/util-log-redis.h

index ec4a4aff73c5ef6d54ad5a19ec2cb06c45277093..12e87dee4a30cf803697ecd7363ec651098be7a5 100644 (file)
@@ -41,7 +41,7 @@ typedef struct RedisSetup_ {
     const char *command;
     const char *key;
     const char *server;
-    int  port;
+    uint16_t  port;
     int is_async;
     int  batch_size;
 } RedisSetup;