projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make tones-dir option available for all interface (interface.conf)
[lcr.git]
/
vbox.cpp
diff --git
a/vbox.cpp
b/vbox.cpp
index
b0268cc
..
8447b89
100644
(file)
--- a/
vbox.cpp
+++ b/
vbox.cpp
@@
-23,7
+23,7
@@
int record_timeout(struct lcr_timer *timer, void *instance, int index);
/*
* initialize vbox port
*/
/*
* initialize vbox port
*/
-VBoxPort::VBoxPort(int type, struct port_settings *settings) : Port(type, "vbox", settings)
+VBoxPort::VBoxPort(int type, struct port_settings *settings) : Port(type, "vbox", settings
, NULL
)
{
p_vbox_timeout = 0;
p_vbox_announce_fh = -1;
{
p_vbox_timeout = 0;
p_vbox_announce_fh = -1;
@@
-191,6
+191,11
@@
void VBoxPort::send_announcement(void)
int VBoxPort::bridge_rx(unsigned char *data, int len)
{
int VBoxPort::bridge_rx(unsigned char *data, int len)
{
+ int ret;
+
+ if ((ret = Port::bridge_rx(data, len)))
+ return ret;
+
if (p_record)
record(data, len, 1); // from up
return 0;
if (p_record)
record(data, len, 1); // from up
return 0;