Просмотр исходного кода

fixed DHCPv6 relay message decoding

tags/v1.0.0
Pascal Gloor 6 лет назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить