Commit a372619
authored
Fix addIp being called with applied ips (#1897)
This was getting called outside of the check for existing ips
Because of the added ifdef and a brace getting moved to the
wrong place.
```
if (! n.tap()->addIp(*ip)) {
fprintf(stderr, "ERROR: unable to add ip address %s" ZT_EOL_S, ip->toString(ipbuf));
}
WinFWHelper::newICMPRule(*ip, n.config().nwid);
```1 parent 12cdf39 commit a372619
1 file changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2307 | 2307 | | |
2308 | 2308 | | |
2309 | 2309 | | |
| 2310 | + | |
2310 | 2311 | | |
2311 | 2312 | | |
| 2313 | + | |
2312 | 2314 | | |
2313 | 2315 | | |
2314 | 2316 | | |
| |||
2322 | 2324 | | |
2323 | 2325 | | |
2324 | 2326 | | |
2325 | | - | |
2326 | 2327 | | |
2327 | 2328 | | |
2328 | | - | |
2329 | | - | |
2330 | | - | |
2331 | | - | |
2332 | | - | |
2333 | | - | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
2334 | 2338 | | |
2335 | 2339 | | |
2336 | 2340 | | |
| |||
0 commit comments