fix argument names for DeviceProtection actions

This commit is contained in:
Daniel Becker 2015-12-11 23:12:11 -08:00
parent 7774c24daa
commit 0298b66365
1 changed files with 11 additions and 6 deletions

View File

@ -115,7 +115,12 @@ static const char * magicargname[] = {
"RemotePort", "RemotePort",
"InternalClient", "InternalClient",
"InternalPort", "InternalPort",
"IsWorking" "IsWorking",
"ProtocolType",
"InMessage",
"OutMessage",
"ProtocolList",
"RoleList"
}; };
static const char xmlver[] = static const char xmlver[] =
@ -746,21 +751,21 @@ static const struct serviceDesc scpd6FC =
static const struct argument SendSetupMessageArgs[] = static const struct argument SendSetupMessageArgs[] =
{ {
{1|0x80, 6}, /* ProtocolType */ {1|0x80|(8<<2), 6}, /* ProtocolType */
{1|0x80, 5}, /* InMessage */ {1|0x80|(9<<2), 5}, /* InMessage */
{2|0x80, 5}, /* OutMessage */ {2|0x80|(10<<2), 5}, /* OutMessage */
{0, 0} {0, 0}
}; };
static const struct argument GetSupportedProtocolsArgs[] = static const struct argument GetSupportedProtocolsArgs[] =
{ {
{2, 1}, /* ProtocolList */ {2|0x80|(11<<2), 1}, /* ProtocolList */
{0, 0} {0, 0}
}; };
static const struct argument GetAssignedRolesArgs[] = static const struct argument GetAssignedRolesArgs[] =
{ {
{2, 6}, /* RoleList */ {2|0x80|(12<<2), 6}, /* RoleList */
{0, 0} {0, 0}
}; };