2005-11-08 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu> * src/NetworkManagerAPList.c src/NetworkManagerDevice.c src/NetworkManagerDbus.c - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so we get more readable ether/mac addresses git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1101 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2005-11-08 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Bill Moss <bmoss@clemson.edu>
|
||||
* src/NetworkManagerAPList.c
|
||||
src/NetworkManagerDevice.c
|
||||
src/NetworkManagerDBus.c
|
||||
- Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
|
||||
we get more readable ether/mac addresses
|
||||
|
||||
2005-11-02 Christopher Aillon <caillon@redhat.com>
|
||||
|
||||
* gnome/applet/main.c: Don't set the restart command. This fixes
|
||||
|
@@ -397,7 +397,7 @@ NMAccessPoint *nm_ap_list_get_ap_by_address (NMAccessPointList *list, const stru
|
||||
GSList *elt;
|
||||
|
||||
memset (&char_addr[0], 0, 20);
|
||||
ether_ntoa_r (addr, &char_addr[0]);
|
||||
iw_ether_ntop (addr, &char_addr[0]);
|
||||
for (elt = user_addrs; elt; elt = g_slist_next (elt))
|
||||
{
|
||||
if (elt->data && !strcmp (elt->data, &char_addr[0]))
|
||||
|
@@ -676,7 +676,7 @@ gboolean nm_dbus_add_network_address (DBusConnection *connection, NMNetworkType
|
||||
}
|
||||
|
||||
char_addr = g_new0 (gchar, 20);
|
||||
ether_ntoa_r (addr, char_addr);
|
||||
iw_ether_ntop (addr, char_addr);
|
||||
dbus_message_append_args (message, DBUS_TYPE_STRING, &network,
|
||||
DBUS_TYPE_INT32, &type_as_int32,
|
||||
DBUS_TYPE_STRING, &char_addr,
|
||||
|
@@ -3739,7 +3739,7 @@ NMAccessPoint * nm_device_get_best_ap (NMDevice *dev)
|
||||
user_addrs = nm_ap_get_user_addresses (tmp_ap);
|
||||
|
||||
memset (&char_addr[0], 0, 20);
|
||||
ether_ntoa_r (ap_addr, &char_addr[0]);
|
||||
iw_ether_ntop (ap_addr, &char_addr[0]);
|
||||
|
||||
for (elt = user_addrs; elt; elt = g_slist_next (elt))
|
||||
{
|
||||
|
Reference in New Issue
Block a user