diff options
| author | Qiuwen Lu <[email protected]> | 2017-06-23 14:17:54 +0800 |
|---|---|---|
| committer | Qiuwen Lu <[email protected]> | 2017-06-23 14:17:54 +0800 |
| commit | 9bd33aacd9457f42eb4cae4b7e91560936cc75d9 (patch) | |
| tree | bb91f39192d6a0714f0610d82b90ce6e969fb59c /tunnat | |
| parent | 3e53c415f1c95d0939eb135149b5d951413563ad (diff) | |
调整support方式,静态编译MESA_htable
Diffstat (limited to 'tunnat')
| -rw-r--r-- | tunnat/src/runtime.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tunnat/src/runtime.cc b/tunnat/src/runtime.cc index 314ceb0..4f9b377 100644 --- a/tunnat/src/runtime.cc +++ b/tunnat/src/runtime.cc @@ -268,10 +268,6 @@ static int __virt_to_phy_pkt_encap(TunnatInstance * instance, TunnatThreadInstan tun_array.tun_array[i].PacketConstruct(pkt_ptr, pkt_len); } - TunnelContainer & tun_outer = tun_array.GetOuterTunContainer(); - char * tun_start = marsio_buff_mtod(mbuf); - assert(tun_start != NULL); - TUNNAT_THREAD_STAT_ADD(TUNNAT_STAT_ENCAP_OUTPUT, 1); return RT_SUCCESS; } |
