Logo Search packages:      
Sourcecode: uaputl version File versions  Download package

void print_auth ( TLVBUF_AUTH_MODE *  tlv )

Show auth tlv.

Parameters:
tlvPoniter to auth tlv

$return N/A

Definition at line 4976 of file uaputl.c.

Referenced by apcmd_sys_cfg_auth(), and print_tlv().

{
    switch (tlv->AuthMode) {
    case 0:
        printf("AUTHMODE = Open authentication\n");
        break;
    case 1:
        printf("AUTHMODE = Shared key authentication\n");
        break;
    case 2:
        printf("AUTHMODE = Auto (open and shared key)\n");
        break;
    default:
        printf("ERR: Invalid authmode=%d\n", tlv->AuthMode);
        break;
    }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index