diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-06 02:05:15 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-08 07:23:36 +0800 |
commit | 1eecb1689b487e8e8144179a74da1dd2a2a9bb27 (patch) | |
tree | bf33f749ea8af0c83ce27a248481345d28d5f7b4 | |
parent | f55fc02e87d3ad974730a6bb927abed769bce81e (diff) |
mgcp: Enable the tap after configuring it...
-rw-r--r-- | openbsc/src/mgcp/mgcp_vty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c index eb2072f67..fcea6477b 100644 --- a/openbsc/src/mgcp/mgcp_vty.c +++ b/openbsc/src/mgcp/mgcp_vty.c @@ -350,6 +350,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; } |