X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstream-tcp.c;h=05601e19d7963434ef1e279c04cbd15afdd7cd81;hb=c2725b60074755713b2fdd73559b6d24d5eb7970;hp=9762f88ed630b5c563f149572d6dfa724df7eee3;hpb=f1936eb65178f796d26a8d265697af8c19dce8cd;p=openvswitch diff --git a/lib/stream-tcp.c b/lib/stream-tcp.c index 9762f88e..05601e19 100644 --- a/lib/stream-tcp.c +++ b/lib/stream-tcp.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2012 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -117,7 +117,8 @@ ptcp_open(const char *name OVS_UNUSED, char *suffix, struct pstream **pstreamp, sprintf(bound_name, "ptcp:%"PRIu16":"IP_FMT, ntohs(sin.sin_port), IP_ARGS(&sin.sin_addr.s_addr)); - return new_fd_pstream(bound_name, fd, ptcp_accept, NULL, pstreamp); + return new_fd_pstream(bound_name, fd, ptcp_accept, set_dscp, NULL, + pstreamp); } static int @@ -142,6 +143,7 @@ const struct pstream_class ptcp_pstream_class = { ptcp_open, NULL, NULL, - NULL + NULL, + NULL, };