]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: net: Make if_nametoindex, etc. consistent with if_nameindex.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Sat, 3 Feb 2024 03:45:29 +0000 (12:45 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Sat, 3 Feb 2024 14:50:12 +0000 (23:50 +0900)
commitaa392df06bb3eb42e07dd68bda2443614ba6a051
tree88fcdb67f2eac8c8d3eb36ae2affb1a48c18cffd
parentaa22a43ec0408e6989ae539976f620c26a333a83
Cygwin: net: Make if_nametoindex, etc. consistent with if_nameindex.

Currently, if_nametoindex() and if_indextoname() handle interface names
such as "ethernet_32777", while if_nameindex() returns the names such
as "{5AF7ACD0-D52E-4DFC-A4D0-54D3E6D6B2AC}". This patch unifies the
interface names to the latter.

Fixes: c356901f0d69 ("Rename if_indextoname to cygwin_if_indextoname (analag for if_nametoindex)")
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
winsup/cygwin/autoload.cc
winsup/cygwin/net.cc
winsup/cygwin/release/3.5.1
This page took 0.029633 seconds and 5 git commands to generate.