]> granicus.if.org Git - strace/commit
2005-02-02 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Wed, 2 Feb 2005 20:25:17 +0000 (20:25 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 2 Feb 2005 20:25:17 +0000 (20:25 +0000)
commite6a432ddf1be9e8544afc8c3100b5a7aae43035f
tree841339f8a3932d0421a4e3d4ff0f11ba1e52db55
parent9d721f283b8d79538d25ef909d1f3bb83d4a9a7f
2005-02-02  Roland McGrath  <roland@redhat.com>

* sock.c (iffflags): New variable, table of IFF_* values.
(print_addr): New function.
(sock_ioctl): Handle SIOCGIFADDR, SIOCGIFDSTADDR, SIOCGIFBRDADDR,
SIOCGIFNETMASK, SIOCGIFFLAGS, SIOCGIFMETRIC, SIOCGIFMTU, SIOCGIFSLAVE,
SIOCGIFHWADDR. Use print_addr for SIOCGIFCONF, SIOCGIFNAME, and
SIOCGIFINDEX, and fix their output.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#138223.
sock.c