summaryrefslogtreecommitdiff
path: root/tunnat/include
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2017-05-25 20:18:11 +0800
committerQiuwen Lu <[email protected]>2017-05-25 20:18:11 +0800
commitdeed3a7bbce1b513b8fd35879238fe1113f77d54 (patch)
tree522047a77b29cbb8e963167fc01220a8ddd6ad79 /tunnat/include
parente092f7f502b2b9f1ee1add567922aca42f8cbd51 (diff)
专用设备网关自测,修复影响运行的若干Bug。
Diffstat (limited to 'tunnat/include')
-rw-r--r--tunnat/include/tunnel.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/tunnat/include/tunnel.h b/tunnat/include/tunnel.h
index 6eeac00..ad07969 100644
--- a/tunnat/include/tunnel.h
+++ b/tunnat/include/tunnel.h
@@ -57,21 +57,14 @@ protected:
unsigned int this_layer_length;
/* 下一层隧道类型 */
enum tunnel_type next_layer_type;
- /* 下一层隧道偏移量 */
- unsigned int next_layer_offset;
public:
- enum tunnel_type GetNextLayerType()
+ enum tunnel_type GetNextTunnelType()
{
return next_layer_type;
}
- unsigned int GetNextLayerOffset()
- {
- return next_layer_offset;
- }
-
- unsigned int GetLayerLength()
+ unsigned int GetTunnelLength()
{
return this_layer_length;
}