diff --git a/lib/node.c b/lib/node.c index b1f94f6ec..d7ceaad24 100644 --- a/lib/node.c +++ b/lib/node.c @@ -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);