Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add extern to *_main global variable declarations in header files.
[vpp.git]
/
src
/
vnet
/
ip
/
ip4_source_and_port_range_check.c
diff --git
a/src/vnet/ip/ip4_source_and_port_range_check.c
b/src/vnet/ip/ip4_source_and_port_range_check.c
index
9aa880a
..
d1f18dd
100644
(file)
--- a/
src/vnet/ip/ip4_source_and_port_range_check.c
+++ b/
src/vnet/ip/ip4_source_and_port_range_check.c
@@
-18,6
+18,8
@@
#include <vnet/fib/fib_table.h>
#include <vnet/fib/ip4_fib.h>
#include <vnet/fib/fib_table.h>
#include <vnet/fib/ip4_fib.h>
+source_range_check_main_t source_range_check_main;
+
/**
* @file
* @brief IPv4 Source and Port Range Checking.
/**
* @file
* @brief IPv4 Source and Port Range Checking.
@@
-1126,7
+1128,7
@@
ip6_source_and_port_range_check_add_del (ip6_address_t * address,
u16 * low_ports,
u16 * high_ports, int is_add)
{
u16 * low_ports,
u16 * high_ports, int is_add)
{
- u
int32_t
fib_index;
+ u
32
fib_index;
fib_index = fib_table_find (FIB_PROTOCOL_IP4, vrf_id);
fib_index = fib_table_find (FIB_PROTOCOL_IP4, vrf_id);