X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fauth.c;h=b0bcdcf4a9d59349dd2872f344a4450c7bb0fdae;hb=39c06d616dd4c9443ed390969e58cd53ca1e314d;hp=d554bfd0f7e6aecb5cfa921f903a160fd45cc92f;hpb=cb67581446e926290c6147634f7f467f48c806b5;p=ppp.git diff --git a/pppd/auth.c b/pppd/auth.c index d554bfd..b0bcdcf 100644 --- a/pppd/auth.c +++ b/pppd/auth.c @@ -73,7 +73,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: auth.c,v 1.93 2003/03/03 05:11:45 paulus Exp $" +#define RCSID "$Id: auth.c,v 1.94 2003/03/09 09:52:19 etbe Exp $" #include #include @@ -1986,7 +1986,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 ((u_int32_t)np->n_net); if (ptr_mask == NULL) { /* calculate appropriate mask for net */ ah = ntohl(a);