Giving up, my old curses code is too gross... better sent it to /dev/null. The only usable thing would be this piece, wrappers for adding/deleting ipv4/6 addresses. Might be useful even for python people, if they change err() for something they'd like.
http://sztorkie.steadynet.org/files/temp/wrapper_to_add_if_addrs.c Examples are down there: ifaces_change_ipv4("vether0", "192.168.192.168", "27", NULL, ADDR_DELETE); ifaces_change_ipv6("em0", "dead:beef:cafe::1", "78", 15, 30, ADDR_ADD); Who knows, maybe I'll start to play with some GUI again, but now there are more important things to do. Feel free to comment. -- Martin Pelikan