Commit b576b77
committed
fix(config): Properly set default idle timeout for stateful NAT
Previously idle_timeout would be set to 0 if not explicitly set when
calling VpcExpose::make_stateful_nat.
This commit restructures the make_stateful_nat code to use the default
implementation of the stateful NAT options which has the correct
default duration.
Signed-off-by: Manish Vachharajani <manish@githedgehog.com>1 parent 380419a commit b576b77
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
115 | | - | |
116 | | - | |
117 | | - | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| 124 | + | |
123 | 125 | | |
124 | 126 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments