From 890d2c6326dbccadc04955b764256116f7b9826b Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 9 May 2007 11:23:14 +0000 Subject: =?UTF-8?q?2007-05-09=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR 1243 * pppd/auth.c (set_allowed_addrs): Remove bogus dereference. --- cpukit/pppd/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/pppd/auth.c') diff --git a/cpukit/pppd/auth.c b/cpukit/pppd/auth.c index cb708632cf..b92d692f16 100644 --- a/cpukit/pppd/auth.c +++ b/cpukit/pppd/auth.c @@ -968,7 +968,7 @@ set_allowed_addrs(unit, addrs, opts) } else { np = getnetbyname (ptr_word); if (np != NULL && np->n_addrtype == AF_INET) { - a = htonl (*(u_int32_t *)np->n_net); + a = htonl (np->n_net); if (ptr_mask == NULL) { /* calculate appropriate mask for net */ ah = ntohl(a); -- cgit v1.2.3