commit | 079f033ab291cf143068c9685f7fc5ce40cff4ff | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Aug 06 02:05:15 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Aug 06 02:05:15 2010 +0800 |
tree | cc294ce6aa320b74b43aa178ce5d4e3bfb3511d6 | |
parent | 8fdb95eb393f13364ce8181ad4b3bd325444565f [diff] |
mgcp: Enable the tap after configuring it...
diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c index 0faa674..02eda23 100644 --- a/openbsc/src/mgcp/mgcp_vty.c +++ b/openbsc/src/mgcp/mgcp_vty.c
@@ -351,6 +351,7 @@ 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; }