You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
442 B

  1. --- a/dcwlinux/macremapper_driver.cxx
  2. +++ b/dcwlinux/macremapper_driver.cxx
  3. @@ -174,7 +174,7 @@ void MacRemapperDriver::ApplyClientTrafficPolicy(const dcw::MacAddress& primaryA
  4. }
  5. //populate our remap ioctl()
  6. - bzero(&re, sizeof(re));
  7. + memset(&re, 0, sizeof(re));
  8. strncpy(re.filter_name, policy.trafficFilterProfile->GetName(), sizeof(re.filter_name));
  9. memcpy(re.match_macaddr, primaryAddr.Value, sizeof(re.match_macaddr));