From 7ccb1f94756db1c737d978f530276a3ac266f7e8 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 14 Oct 2013 23:05:06 +0200 Subject: Fix IP TOS --- src/dhcpv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/dhcpv4.c b/src/dhcpv4.c index 7a68f66..b4b0720 100644 --- a/src/dhcpv4.c +++ b/src/dhcpv4.c @@ -65,7 +65,7 @@ int setup_dhcpv4_interface(struct interface *iface, bool enable) setsockopt(sock, SOL_SOCKET, SO_BROADCAST, &val, sizeof(val)); setsockopt(sock, IPPROTO_IP, IP_PKTINFO, &val, sizeof(val)); - val = IPTOS_CLASS_CS6; + val = IPTOS_PREC_INTERNETCONTROL; setsockopt(sock, IPPROTO_IP, IP_TOS, &val, sizeof(val)); val = IP_PMTUDISC_DONT; -- cgit v1.2.3