projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7b3d18
)
Harald provided this patch to fix reload of interface.conf without segfault.
author
Andreas Eversberg
<jolly@eversberg.eu>
Mon, 4 Jan 2010 18:20:06 +0000
(19:20 +0100)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Mon, 4 Jan 2010 18:20:06 +0000
(19:20 +0100)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index
8e21c75
..
0b72061
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-1381,7
+1381,7
@@
void relink_interfaces(void)
if (!strcmp(mISDNport->name, ifport->portname))
ifport->portnum = mISDNport->portnum; /* same name, so we use same number */
if (mISDNport->portnum == ifport->portnum) {
- PDEBUG(DEBUG_ISDN, "Port %d:%s relinking!\n",
mISDNport->portnum
);
+ PDEBUG(DEBUG_ISDN, "Port %d:%s relinking!\n",
ifport->portnum, ifport->portname
);
ifport->mISDNport = mISDNport;
mISDNport->ifport = ifport;
set_defaults(ifport);