Преглед на файлове

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

Loading…
Отказ
Запис