X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=interface.c;h=4b894cfd9772cb84c22a9e0ff2447a3acf1965bb;hp=e7ab1710d94008ebba1cb368ecbf43be73424cb5;hb=d5e639588de9c88d5398cd047c5c73f6d439a5a7;hpb=0eebd3a28e968844ec459298ac36e16305cc07bb diff --git a/interface.c b/interface.c index e7ab171..4b894cf 100644 --- a/interface.c +++ b/interface.c @@ -325,11 +325,9 @@ static int inter_portname(struct interface *interface, char *filename, int line, ifport = ifport->next; } - /* check for port already assigned, but not for shared gsm interface */ + /* check for port already assigned, but not for shared loop interface */ searchif = interface_newlist; -#if defined WITH_GSM_BS || defined WITH_GSM_MS - if (options.gsm && !strcmp(value, gsm->conf.interface_lcr)) -#endif + if (!!strcmp(value, options.loopback_lcr)) { while(searchif) { ifport = searchif->ifport;