mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2025-12-19 04:37:43 +00:00
typo with source_port
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = (srf, logger) => {
|
||||
srf.options((req, res) => {
|
||||
res.send(200);
|
||||
if (req.has('X-FS-Status')) {
|
||||
const uri = `${req.source_address}:${req.source_address}`;
|
||||
const uri = `${req.source_address}:${req.source_port}`;
|
||||
const status = req.get('X-FS-Status');
|
||||
const calls = req.has('X-FS-Calls') ? parseInt(req.get('X-FS-Calls')) : 0;
|
||||
if (status === 'open') {
|
||||
|
||||
Reference in New Issue
Block a user