projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
436f29d
)
Fix IP TOS
author
Steven Barth
<steven@midlink.org>
Mon, 14 Oct 2013 21:05:06 +0000
(23:05 +0200)
committer
Steven Barth
<steven@midlink.org>
Mon, 14 Oct 2013 21:05:06 +0000
(23:05 +0200)
src/dhcpv4.c
patch
|
blob
|
history
diff --git
a/src/dhcpv4.c
b/src/dhcpv4.c
index 7a68f66e62a0bed2b4aade7d009d6d86117173b0..b4b072041c93ec43ae763350e8a457a7da91d765 100644
(file)
--- 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;