mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
api: API allow cidr network searches of the ARP table (#6378)
* api: API allow cidr network searches of the ARP table * Allow non-encoded / in request I also noticed that all is allowed to be called without device, which the sql query does not support.
This commit is contained in:
committed by
Neil Lathwood
parent
b1483e3d2e
commit
4ab358501d
@@ -153,7 +153,7 @@ $app->group(
|
||||
$app->group(
|
||||
'/ip',
|
||||
function () use ($app) {
|
||||
$app->get('/arp/:ip', 'authToken', 'list_arp')->name('list_arp');
|
||||
$app->get('/arp/:ip', 'authToken', 'list_arp')->name('list_arp')->conditions(array('ip' => '[^?]+'));
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user