Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/net



Module Name:    src
Committed By:   gdt
Date:           Thu Sep 13 18:54:57 UTC 2007

Modified Files:
        src/sys/net: if.c if.h

Log Message:
Add a define for the ifru_space union member.

Copy the entire sockaddr to the buffer to be written to user space,
according to its length, not just the part that fits in struct
sockaddr.

This fixes the 'bad MAC address' problem in dhclient.


To generate a diff of this commit:
cvs rdiff -r1.200 -r1.201 src/sys/net/if.c
cvs rdiff -r1.126 -r1.127 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index