projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow setting IP:port for peers of SIP interfaces.
[lcr.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
365e843
..
4f7e40a
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-973,8
+973,8
@@
static int inter_sip(struct interface *interface, char *filename, int line, char
SPRINT(interface_error, "Error in %s (line %d): Missing SIP remote IP.\n", filename, line);
return(-1);
}
SPRINT(interface_error, "Error in %s (line %d): Missing SIP remote IP.\n", filename, line);
return(-1);
}
- SCPY(interface->sip_local_
ip
, value);
- SCPY(interface->sip_remote_
ip
, p);
+ SCPY(interface->sip_local_
peer
, value);
+ SCPY(interface->sip_remote_
peer
, p);
return(0);
#endif
return(0);
#endif