瀏覽代碼

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 查看文件



offset+=4; offset+=4;


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


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

Loading…
取消
儲存