Fix IP TOS
authorSteven Barth <steven@midlink.org>
Mon, 14 Oct 2013 21:05:06 +0000 (23:05 +0200)
committerSteven Barth <steven@midlink.org>
Mon, 14 Oct 2013 21:05:06 +0000 (23:05 +0200)
src/dhcpv4.c

index 7a68f66e62a0bed2b4aade7d009d6d86117173b0..b4b072041c93ec43ae763350e8a457a7da91d765 100644 (file)
@@ -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;