]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
wireless.cgi: Use new system methods
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 20 May 2021 15:45:30 +0000 (17:45 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 17 Jun 2021 20:10:24 +0000 (20:10 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/wireless.cgi

index 19f666b1f6d482bf27a083cf3ea5f8555bc8a025..35bdaaa6052895995887fbc58b092edb06f6883f 100644 (file)
@@ -277,7 +277,7 @@ my @curhosts = <HOSTFILE>;
 close (HOSTFILE);
 
 my $connstate = &Header::connectionstatus();
-my @arp = `/sbin/arp -n`;
+my @arp = &General::system_output("/sbin/arp", "-n");
 shift @arp;
 
 foreach my $line (@current)