mirror of
				https://github.com/Telecominfraproject/wlan-cloud-userportal.git
				synced 2025-10-31 18:48:02 +00:00 
			
		
		
		
	Adding support for IPv6.
This commit is contained in:
		| @@ -9,12 +9,13 @@ | ||||
| namespace OpenWifi { | ||||
|     class RESTAPI_wiredClients_handler : public RESTAPIHandler { | ||||
|     public: | ||||
|         RESTAPI_wiredClients_handler(const RESTAPIHandler::BindingMap &bindings, Poco::Logger &L, RESTAPI_GenericServer & Server, bool Internal) | ||||
|         RESTAPI_wiredClients_handler(const RESTAPIHandler::BindingMap &bindings, Poco::Logger &L, RESTAPI_GenericServer & Server, uint64_t TransactionId, bool Internal) | ||||
|         : RESTAPIHandler(bindings, L, | ||||
|                          std::vector<std::string>{ | ||||
|             Poco::Net::HTTPRequest::HTTP_GET, | ||||
|             Poco::Net::HTTPRequest::HTTP_OPTIONS}, | ||||
|             Server, | ||||
|             TransactionId, | ||||
|             Internal,true, false, RateLimit{.Interval=1000,.MaxCalls=10}, true){} | ||||
|  | ||||
|             static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/wiredClients"}; }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959