Changeset 50c0d1f in rtems


Ignore:
Timestamp:
04/30/04 12:44:07 (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ca66d01
Parents:
a99bf0a
Message:

2004-04-30 Ralf Corsepius <ralf_corsepius@…>

  • libnetworking/netinet/in.c: Partial update from FreeBSD.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra99bf0a r50c0d1f  
     12004-04-30      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * libnetworking/netinet/in.c: Partial update from FreeBSD.
     4
    152004-04-26      Ralf Corsepius <ralf_corsepius@rtems.org>
    26
  • cpukit/libnetworking/netinet/in.c

    ra99bf0a r50c0d1f  
    1111 *    notice, this list of conditions and the following disclaimer in the
    1212 *    documentation and/or other materials provided with the distribution.
    13  * 3. All advertising materials mentioning features or use of this software
    14  *    must display the following acknowledgement:
    15  *      This product includes software developed by the University of
    16  *      California, Berkeley and its contributors.
    1713 * 4. Neither the name of the University nor the names of its contributors
    1814 *    may be used to endorse or promote products derived from this software
     
    3228 *
    3329 *      @(#)in.c        8.4 (Berkeley) 1/9/95
    34  *      $Id$
     30 * $FreeBSD: src/sys/netinet/in.c,v 1.75 2004/04/07 20:46:13 imp Exp $
    3531 */
    3632
     
    162158        struct sockaddr_in oldaddr;
    163159        int error, hostIsNew, maskIsNew, s;
    164         u_long i;
    165160        struct multi_kludge *mk;
    166161
     
    323318
    324319        case SIOCSIFNETMASK:
    325                 i = ifra->ifra_addr.sin_addr.s_addr;
    326                 ia->ia_subnetmask = ntohl(ia->ia_sockmask.sin_addr.s_addr = i);
     320                ia->ia_sockmask.sin_addr = ifra->ifra_addr.sin_addr;
     321                ia->ia_subnetmask = ntohl(ia->ia_sockmask.sin_addr.s_addr);
    327322                break;
    328323
Note: See TracChangeset for help on using the changeset viewer.