From 3e12140892e4081747c5cde340dc7594185e4dd0 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 27 Mar 2016 14:50:50 +0000 Subject: [PATCH] Defs for Telnet and SSH FossilOrigin-Name: 333a425fe6edc0b5dba166bba3eac4f318acf590c7ac15dccbecef2bae1e6bce --- src/cw/capwap_items.c | 7 +++++++ src/cw/capwap_items.h | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/src/cw/capwap_items.c b/src/cw/capwap_items.c index 392c93e5..a966e2d3 100644 --- a/src/cw/capwap_items.c +++ b/src/cw/capwap_items.c @@ -15,6 +15,9 @@ const char CW_ITEM_WTP_FRAME_TUNNEL_MODE[]="wtp_frame_tunnel_mode"; const char CW_ITEM_WTP_RADIOS_IN_USE[]="max_radios"; const char CW_ITEM_WTP_MAX_RADIOS[]="radios_in_use"; +const char CW_ITEM_SSH_ENABLE[]="ssh_enable"; +const char CW_ITEM_TELNET_ENABLE[]="telnet_enable"; + /* const char CW_ITEM_WTP_HARDWARE_VENDOR= */ @@ -101,6 +104,10 @@ struct cw_itemdef capwap_itemdefs[] = { {CW_ITEM_CAPWAP_TRANSPORT_PROTOCOL,CW_ITEM_NONE,MBAG_BYTE}, +{CW_ITEM_TELNET_ENABLE,CW_ITEM_NONE,MBAG_BYTE}, +{CW_ITEM_SSH_ENABLE,CW_ITEM_NONE,MBAG_BYTE}, + + {CW_ITEM_WTP_NAME,CW_ITEM_NONE,MBAG_STR}, {CW_ITEM_WTP_MAC_TYPE,CW_ITEM_NONE,MBAG_BYTE}, {CW_ITEM_WTP_FRAME_TUNNEL_MODE,CW_ITEM_NONE,MBAG_BYTE}, diff --git a/src/cw/capwap_items.h b/src/cw/capwap_items.h index bf6f1e3f..8b0bc51b 100644 --- a/src/cw/capwap_items.h +++ b/src/cw/capwap_items.h @@ -176,6 +176,12 @@ extern const char CW_ITEM_RADIO_INFOS[]; extern const char CW_ITEM_ECN_SUPPORT[]; +extern const char CW_ITEM_SSH_ENABLE[]; +extern const char CW_ITEM_TELNET_ENABLE[]; + + + + #define CW_ITEM_REBOOT_COUNT "reboot_count" #define CW_ITEM_REBOOT_AC_INITIATED_COUNT "ac_initiated" #define CW_ITEM_REBOOT_LINK_FAILURE_COUNT "link_failure"