From 2dcacbeef33a6c97e59ed97ee27f3b94428234b5 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sat, 9 Apr 2016 09:02:55 +0000 Subject: [PATCH] Add log facility, fixed ac hash value FossilOrigin-Name: e5e3c6698211e60e587ebb132c5930bc72f9b2b7f11b641af0aefdb896d77cd1 --- src/mod/cipwap/cipwap_items.c | 8 ++++++-- src/mod/cipwap/cipwap_items.h | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/mod/cipwap/cipwap_items.c b/src/mod/cipwap/cipwap_items.c index 4b61a600..7979fcb8 100644 --- a/src/mod/cipwap/cipwap_items.c +++ b/src/mod/cipwap/cipwap_items.c @@ -8,14 +8,18 @@ const char CIPWAP_ITEM_SSH_ENABLE[]="ssh_enable"; const char CIPWAP_ITEM_TELNET_ENABLE[]="telnet_enable"; -const char CIPWAP_ITEM_AP_HASH_VALUE[]="ap_hash_value"; +const char CIPWAP_ITEM_AC_HASH_VALUE[]="ac_hash_value"; +const char CIPWAP_ITEM_LOG_FACILITY[]="log_facility"; + + struct cw_itemdef cipwap_itemdefs[] = { {CIPWAP_ITEM_TELNET_ENABLE,CW_ITEM_NONE,MBAG_BYTE}, {CIPWAP_ITEM_SSH_ENABLE,CW_ITEM_NONE,MBAG_BYTE}, - {CIPWAP_ITEM_AP_HASH_VALUE,CW_ITEM_NONE,MBAG_BSTR16}, + {CIPWAP_ITEM_AC_HASH_VALUE,CW_ITEM_NONE,MBAG_BSTR16}, + {CIPWAP_ITEM_LOG_FACILITY,CW_ITEM_NONE,MBAG_BYTE}, {CW_ITEM_NONE} diff --git a/src/mod/cipwap/cipwap_items.h b/src/mod/cipwap/cipwap_items.h index d78551b4..2e9d7d0c 100644 --- a/src/mod/cipwap/cipwap_items.h +++ b/src/mod/cipwap/cipwap_items.h @@ -3,7 +3,9 @@ extern const char CIPWAP_ITEM_SSH_ENABLE[]; extern const char CIPWAP_ITEM_TELNET_ENABLE[]; -extern const char CIPWAP_ITEM_AP_HASH_VALUE[]; +extern const char CIPWAP_ITEM_AC_HASH_VALUE[]; +extern const char CIPWAP_ITEM_LOG_FACILITY[]; + extern const char CIPWAP_RADIOITEM80211_OCCUPANCY_LIMIT[]; extern const char CIPWAP_RADIOITEM80211_CFP_PERIOD[];