Project

General

Profile

Bug #7359

Updated by Igor Kozhukhov about 5 years ago

we need compare 2 nvlists in ipmgmt_nvlist_match where we have no '_protocol' property for line like: 
 _aobjname=lo0/v4;_ifname=lo0;_lifnum=0;_family=2;_flags=1;_atype=1;_addr=; 

 we should check NULL for proto and db_proto before pass arguments to strcmp() 
 also, need update others checks too. 
 i'd like propose update strcmp -> strncmp

Back