Add getAdvancedData, setHostname to table for Networking

This commit is contained in:
Foxtrot 2016-04-04 19:11:19 +01:00
parent afad9b4635
commit 79a1456629

2
api.md
View File

@ -82,6 +82,8 @@ Action|Description|Parameters
`getRoutingTable`|Returns the routing table of the Pineapple|_none_ `getRoutingTable`|Returns the routing table of the Pineapple|_none_
`restartDNS`|Restarts the DNS service on the Pineapple|_none_ `restartDNS`|Restarts the DNS service on the Pineapple|_none_
`updateRoute`|Updates the routing table|<ul><li>`routeIP`<ul><li>IP Address for the route</li></ul></li></ul><ul><li>`routeInterface`<ul><li>Interface for the route</ul></li> `updateRoute`|Updates the routing table|<ul><li>`routeIP`<ul><li>IP Address for the route</li></ul></li></ul><ul><li>`routeInterface`<ul><li>Interface for the route</ul></li>
`getAdvancedData`|Returns the hostname and ifconfig|_none_
`setHostname`|Sets the hostname for the Pineapple|<ul><li>`hostname`<ul><li>String for the hostname</li></ul></li></ul>
### PineAP ### PineAP
#### Description #### Description
### Recon ### Recon