diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-27 19:21:53 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-27 19:21:53 +0800 |
commit | 6b7710739a345cc38935124b7097b4ad594b57bb (patch) | |
tree | ef41d89b9bc02d99a03b030b8e9252789760926c /openbsc/src/nat/bsc_nat.c | |
parent | e731e1d6dd4a8371ca2d9f8142b9afaeedd012a4 (diff) |
nat: Rename ip-tos to ip-dscp and provide an alias...
Diffstat (limited to 'openbsc/src/nat/bsc_nat.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 826f28819..538472ac2 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -898,7 +898,7 @@ static int ipaccess_listen_bsc_cb(struct bsc_fd *bfd, unsigned int what) LOGP(DNAT, LOGL_ERROR, "Failed to set TCP_NODELAY: %s\n", strerror(errno)); rc = setsockopt(fd, IPPROTO_IP, IP_TOS, - &nat->bsc_ip_tos, sizeof(nat->bsc_ip_tos)); + &nat->bsc_ip_dscp, sizeof(nat->bsc_ip_dscp)); if (rc != 0) LOGP(DNAT, LOGL_ERROR, "Failed to set IP_TOS: %s\n", strerror(errno)); |