ソースを参照

fixed DHCPv6 relay message decoding

tags/v1.0.0
Pascal Gloor 6年前
コミット
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

読み込み中…
キャンセル
保存