浏览代码

fixed DHCPv6 relay message decoding

tags/v1.0.0
Pascal Gloor 5 年前
父节点
当前提交
c041eed525
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      dhcp_protect.c

+ 3
- 1
dhcp_protect.c 查看文件

@@ -302,8 +302,10 @@ void dp_dhcpv6_check(dp_conf *conf, unsigned char *pkt, int pktlen, int offset,

offset+=4;

if ( code == 9 ) // relay message
if ( code == 9 ) { // relay message
offset += 4;
continue;
}

if ( code == 1 ) { // Client identifier / DUID
// make sure there's enough space

正在加载...
取消
保存