diff options
author | dg <dg@FreeBSD.org> | 1995-10-07 20:34:30 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-10-07 20:34:30 +0000 |
commit | 31dfaff8254e9ea72dd7fd16d012f4d5db655d18 (patch) | |
tree | 6178860fb52298f6a94a35e2f2d30ebdf9620772 /sys/dev/de | |
parent | a04727abd8663f09834c64ef47ada72067e29c83 (diff) | |
download | FreeBSD-src-31dfaff8254e9ea72dd7fd16d012f4d5db655d18.zip FreeBSD-src-31dfaff8254e9ea72dd7fd16d012f4d5db655d18.tar.gz |
Add SIOCGIFADDR support.
Diffstat (limited to 'sys/dev/de')
-rw-r--r-- | sys/dev/de/if_de.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 6c352b9..bf2893f 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.31 1995/09/29 19:52:10 davidg Exp $ + * $Id: if_de.c,v 1.32 1995/10/02 14:04:33 davidg Exp $ * */ @@ -1916,6 +1916,12 @@ tulip_ioctl( } break; } + case SIOCGIFADDR: { + bcopy((caddr_t) sc->tulip_ac.ac_enaddr, + (caddr_t) ((struct sockaddr *)&ifr->ifr_data)->sa_data, + 6); + break; + } case SIOCSIFFLAGS: { /* |