diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-05-09 11:24:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-05-09 11:24:44 +0000 |
commit | b3d13de34b0406948716f684e936f973f6a12dc3 (patch) | |
tree | ade4205bd90dd3cc203fb8338daeeaa7d18cbb63 /cpukit/pppd | |
parent | 2007-04-17 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-b3d13de34b0406948716f684e936f973f6a12dc3.tar.bz2 |
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1243
* pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
Diffstat (limited to 'cpukit/pppd')
-rw-r--r-- | cpukit/pppd/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/pppd/auth.c b/cpukit/pppd/auth.c index b315a1f723..a79d185621 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); |