Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nat: NAT44 ED api fix and improvement
[vpp.git]
/
src
/
plugins
/
nat
/
nat44-ed
/
nat44_ed.h
diff --git
a/src/plugins/nat/nat44-ed/nat44_ed.h
b/src/plugins/nat/nat44-ed/nat44_ed.h
index
8fd5007
..
e2f5810
100644
(file)
--- a/
src/plugins/nat/nat44-ed/nat44_ed.h
+++ b/
src/plugins/nat/nat44-ed/nat44_ed.h
@@
-412,7
+412,7
@@
typedef enum
typedef struct
{
typedef struct
{
- /* prefered pool address */
+ /* prefer
r
ed pool address */
ip4_address_t pool_addr;
/* local IP address */
ip4_address_t local_addr;
ip4_address_t pool_addr;
/* local IP address */
ip4_address_t local_addr;
@@
-540,6
+540,8
@@
typedef struct snat_main_s
/* Interface pool */
snat_interface_t *interfaces;
snat_interface_t *output_feature_interfaces;
/* Interface pool */
snat_interface_t *interfaces;
snat_interface_t *output_feature_interfaces;
+ // broken api backward compatibility
+ snat_interface_t *output_feature_dummy_interfaces;
/* Vector of outside addresses */
snat_address_t *addresses;
/* Vector of outside addresses */
snat_address_t *addresses;