diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-06-24 00:47:07 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-06-24 00:47:07 +0800 |
commit | 5ac4a710006d5d3d68af99a01e1845792db890ce (patch) | |
tree | 50c6c56e64d5d2ef3b8d6ec4f63daf889a8026ef /netio.c | |
parent | b967dc1fa506b2e810a6eb370492bab955e46e14 (diff) | |
parent | 521e63529c42513c06a8caa27ef22e93a63e9c38 (diff) |
merge from main
--HG--
branch : fuzz
Diffstat (limited to 'netio.c')
-rw-r--r-- | netio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -307,7 +307,7 @@ void set_sock_priority(int sock, enum dropbear_prio prio) { #ifdef IPTOS_LOWDELAY int iptos_val = 0; #endif -#ifdef SO_PRIORITY +#ifdef HAVE_LINUX_PKT_SCHED_H int so_prio_val = 0; #endif @@ -340,7 +340,7 @@ void set_sock_priority(int sock, enum dropbear_prio prio) { } #endif -#ifdef SO_PRIORITY +#ifdef HAVE_LINUX_PKT_SCHED_H if (prio == DROPBEAR_PRIO_LOWDELAY) { so_prio_val = TC_PRIO_INTERACTIVE; } else if (prio == DROPBEAR_PRIO_BULK) { |