diff options
author | Steven Barth <steven@midlink.org> | 2013-10-14 23:05:06 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-10-14 23:05:06 +0200 |
commit | 7ccb1f94756db1c737d978f530276a3ac266f7e8 (patch) | |
tree | 28c0683ad2de65a07fcd32a22fd52179d064f90c | |
parent | 436f29d4d6acda4b95fc72a654a81fd8986e002b (diff) |
Fix IP TOS
-rw-r--r-- | src/dhcpv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |