Quoting myself <[email protected]>:
how can I set [802-3-ethernet] properties using the 0.8.x
C API? Especially the mac-address-blacklist parameter...
It's that easy:
NMSettingWired* wired;
...
GSList* blacklist = NULL;
blacklist = g_slist_append(blacklist, mac_addr1);
...
g_object_set(G_OBJECT(wired),
NM_SETTING_WIRED_MAC_ADDRESS_BLACKLIST, blacklist,
NULL);
g_slist_free(blacklist);
Cheers
_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list