From 6b7710739a345cc38935124b7097b4ad594b57bb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 27 Jul 2010 19:21:53 +0800 Subject: nat: Rename ip-tos to ip-dscp and provide an alias... --- openbsc/src/nat/bsc_nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/nat/bsc_nat.c') 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)); -- cgit v1.2.3