When running version 3.23, the comment field (in which I store a human-readable account ID so I know to whom the lease belongs when I'm logged into the AP via telnet/ssh/winbox) the API returns things just fine:
Code: Select all
1 "!re" = null
2 ".id" = "*1"
3 "comment" = "Joe User Account 4567"
4 "address" = "10.0.0.55"
5 "mac-address" = "DE:AD:BE:EF:00:11"
6 "status" = "bound"
7 "expires-after" = "00:41:30"
8 "active-address" = "10.0.0.55"
9 "active-mac-address" = "DE:AD:BE:EF:00:11"
10 "active-client-id" = "1:DE:AD:BE:EF:00:11"
11 "active-server" = "dhcp-server"
12 "host-name" = "MyMikroTikAP"
13 "disabled" = "false"
14 "radius" = "false"
15 "dynamic" = "false"
16 "blocked" = "false"
1 "!done" = null
Code: Select all
1 "!re" = null
2 ".id" = "*1"
3 "address" = "10.1.0.33"
4 "mac-address" = "FE:ED:BE:AD:51:73"
5 "disabled" = "false"
6 "radius" = "false"
7 "dynamic" = "false"
8 "blocked" = "false"
1 "!done" = null
Wondering,
Aaron out