Project

General

Profile

Actions

Bug #499

closed

setting value to host-os-policy.bsd-right fails

Added by Victor Julien over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

[10019] 9/7/2012 -- 12:27:11 - (util-host-os-info.c:141) <Error> (SCHInfoAllocUserDataOSPolicy) -- [ERRCODE: SC_ERR_INVALID_ENUM_MAP(15)] - Invalid enum map inside SCHInfoAddHostOSInfo()
[10019] 9/7/2012 -- 12:27:11 - (util-host-os-info.c:229) <Error> (SCHInfoAddHostOSInfo) -- [ERRCODE: SC_ERR_INVALID_ENUM_MAP(15)] - Invalid enum map inside
[10019] 9/7/2012 -- 12:27:11 - (util-host-os-info.c:423) <Error> (SCHInfoLoadFromConfig) -- [ERRCODE: SC_ERR_INVALID_ARGUMENT(13)] - Failed to add host "1.2.3.4" with policy "bsd-right" to host info database

Possibly related to replacing underscores with dashes.

Please review all OS' and add unittests.


Files

Actions #1

Updated by Anoop Saldanha over 12 years ago

Should we provided backward compatibility with _?

Actions #2

Updated by Victor Julien over 12 years ago

Yes, but I think it's done already on the conf API level. It should convert var names with _ to -. Please test to be sure.

Actions #4

Updated by Victor Julien over 12 years ago

  • Status changed from Assigned to Closed
  • Target version changed from 1.4beta1 to 1.3.1

Applied, thanks.

Actions

Also available in: Atom PDF