projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
809b188
)
Fixed null-pointer bug when GSM support is disabled
author
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 28 Dec 2010 14:37:15 +0000
(15:37 +0100)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 28 Dec 2010 14:37:15 +0000
(15:37 +0100)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index
a312e4e
..
09e0067
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-328,7
+328,7
@@
static int inter_portname(struct interface *interface, char *filename, int line,
/* check for port already assigned, but not for shared gsm interface */
searchif = interface_newlist;
#if defined WITH_GSM_BS || defined WITH_GSM_MS
- if (!strcmp(value, gsm->conf.interface_lcr))
+ if (
options.gsm &&
!strcmp(value, gsm->conf.interface_lcr))
#endif
{
while(searchif) {