Commit e3d20e6
committed
fix(egress): make SO_MARK best-effort for non-privileged environments
SO_MARK requires CAP_NET_ADMIN which is unavailable in CI runners
and development environments. The mark is only needed when iptables
transparent redirect is active (container runtime), so silently
ignore the error elsewhere.1 parent 6c8a2e0 commit e3d20e6
1 file changed
Lines changed: 7 additions & 7 deletions
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
0 commit comments