aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-04-16 13:56:58 -0700
committerEthan Jackson <ethan@nicira.com>2012-04-17 13:15:17 -0700
commitef8a3d14976080fc5e29ce04bea8bd88f8b631f2 (patch)
treebaa32106a62e72001fef3041eb11922de66d26a1 /tests
parent317f6420764f9024deead76fc98477327a8a180e (diff)
socket-util: Remove DSCP_INVALID.
The DSCP_INVALID flag allowed callers to prevent socket-util from modify the DSCP bits of newly created sockets. However, the two really important callers (implementations of the controller and manager tables) never used it. Furthermore, the other callers would be fine always setting the DSCP bits to zero. This patch removes the DSCP_INVALID option in an effort to simplify the code. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-netflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-netflow.c b/tests/test-netflow.c
index 49cab495..7d028874 100644
--- a/tests/test-netflow.c
+++ b/tests/test-netflow.c
@@ -202,7 +202,7 @@ main(int argc, char *argv[])
}
target = argv[optind];
- sock = inet_open_passive(SOCK_DGRAM, target, 0, NULL, DSCP_INVALID);
+ sock = inet_open_passive(SOCK_DGRAM, target, 0, NULL, 0);
if (sock < 0) {
ovs_fatal(0, "%s: failed to open (%s)", argv[1], strerror(-sock));
}