mgcp: Enable the tap after configuring it...

This commit is contained in:
Holger Hans Peter Freyther 2010-08-06 02:05:15 +08:00
parent 260d6ed02c
commit 0e01d09500
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}