Dmitriev Roman il y a 4 mois
Parent
commit
742bd453eb
2 fichiers modifiés avec 10 ajouts et 1 suppressions
  1. 3 0
      CHANGELOG.md
  2. 7 1
      README.md

+ 3 - 0
CHANGELOG.md

@@ -1,4 +1,5 @@
 # Changelog 2.9.1 - release
+
 - Added PostgreSQL support (EXPERIMENTAL — DO NOT USE IN PRODUCTION!)
 - html: switched to use PDO
 - added perl-Net-SNMP module patch to support sha512 in AltLinux
@@ -25,6 +26,7 @@
 - bugfix: The address import script now handles dns name changes correctly.
 
 # Changelog 2.8.2 - release
+
 - html: The default interval is 1 hour for displaying logs and reports.
 - html: The search in the list of all addresses now takes into account the filters set
 - html: The IP address can be written using the russain letter Ю instead of a dot.
@@ -40,6 +42,7 @@
 - always remove dynamic user ip record by dhcp release request
 
 # Changelog 2.8.0 - draft
+
 - fixed upgrade script name
 - The rule of the only mac in the subnet has been implemented for dynamic records.
 - The ability to set a group has been added to mass editing from the address list.

+ 7 - 1
README.md

@@ -391,7 +391,13 @@ add name=download_root_bridge parent=bridge queue=pcq-download-default
 ### DHCP-скрипт (RouterOS 6):
 
 ```routeros
-/tool fetch mode=http keep-result=no url="http://<STAT_IP>/api.php?login=<LOGIN>&api_key=<API_KEY>&send=dhcp&mac=\$leaseActMAC&ip=\$leaseActIP&action=\$leaseBound&hostname=\$lease-hostname"
+/tool fetch mode=http keep-result=no url="http://<EYE_IP>/api.php?login=<LOGIN>&api_key=<API_KEY>&send=dhcp&mac=\$leaseActMAC&ip=\$leaseActIP&action=\$leaseBound&hostname=\$lease-hostname"
+```
+
+### DHCP-скрипт (RouterOS 7):
+
+```routeros
+/tool fetch url="http://<EYE_IP>/api.php?login=<LOGIN>&api_key=<API_KEY>&send=dhcp&mac=$leaseActMAC&ip=$leaseActIP&action=$leaseBound&hostname=$"lease-hostname"" mode=http keep-result=no
 ```
 
 ### NetFlow: