[chan_lcr] Unloading chan_lcr is now possible
[lcr.git] / interface.c
index 448affc..4b894cf 100644 (file)
@@ -325,9 +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 (!strcmp(value, options.loopback_lcr))
+       if (!!strcmp(value, options.loopback_lcr))
        {
                while(searchif) {
                        ifport = searchif->ifport;