summaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorAndreas Eversberg2011-02-20 17:34:24 +0100
committerAndreas Eversberg2011-02-20 17:34:24 +0100
commitd5e639588de9c88d5398cd047c5c73f6d439a5a7 (patch)
treef80db57cfce471be14dce3047386b2d42b3efd96 /interface.c
parentdon't execve() a shell process but always double-fork and then exec the progr... (diff)
downloadlcr-d5e639588de9c88d5398cd047c5c73f6d439a5a7.tar.gz
lcr-d5e639588de9c88d5398cd047c5c73f6d439a5a7.tar.xz
lcr-d5e639588de9c88d5398cd047c5c73f6d439a5a7.zip
[gsm] Removed obsolete gsm.conf handling. Fixed minor compiling issues.
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c6
1 files changed, 2 insertions, 4 deletions
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;