aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-06 02:05:15 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-06 02:05:15 +0800
commit0e01d0950030ea37420d079c8190ae19589e2c86 (patch)
treecc294ce6aa320b74b43aa178ce5d4e3bfb3511d6
parent260d6ed02c12ccde6d8eec5a34118b71207757b6 (diff)
mgcp: Enable the tap after configuring it...
-rw-r--r--openbsc/src/mgcp/mgcp_vty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c
index 0faa674d..02eda237 100644
--- a/openbsc/src/mgcp/mgcp_vty.c
+++ b/openbsc/src/mgcp/mgcp_vty.c
@@ -351,6 +351,7 @@ DEFUN(tap_call,
memset(&tap->forward, 0, sizeof(tap->forward));
inet_aton(argv[2], &tap->forward.sin_addr);
tap->forward.sin_port = htons(atoi(argv[3]));
+ tap->enabled = 1;
return CMD_SUCCESS;
}