move func getLocalIfaces in Util
fix crash on search alternatives, fix crash in gtk on parse sharelist