summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/auth.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/pppd/auth.c2
1 files changed, 1 insertions, 1 deletions
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);