mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
if: fix invalid check for fwmark (closes #234)
This commit is contained in:
parent
b7d0f174ca
commit
7c7c4a00e3
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ int node_start(struct node *n)
|
|||
|
||||
#ifdef __linux__
|
||||
/* Set fwmark for outgoing packets if netem is enabled for this node */
|
||||
if (n->fwmark) {
|
||||
if (n->fwmark >= 0) {
|
||||
int fds[16];
|
||||
int num_sds = node_netem_fds(n, fds);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue