GenerateMAC: Remove the "More at ..." link.
parent
8123cf4718
commit
e931fc1440
|
@ -20,11 +20,10 @@ attribution github => [ 'https://github.com/UnGround', 'Charlie Belmer' ],
|
|||
|
||||
handle remainder => sub {
|
||||
my $address = join(':', map {sprintf '%0.2X', rand(255)}(1..6));
|
||||
my $more_info = qq(More at <a href='http://coffer.com/mac_find/'>coffer.com</a>);
|
||||
|
||||
my $text_response = "Here's a random MAC address: $address";
|
||||
my $html_response = "<i>Here's a random MAC address: </i>$address <br /> $more_info";
|
||||
my $html_response = "<i>Here's a random MAC address: </i>$address";
|
||||
return $text_response, html => $html_response;
|
||||
};
|
||||
|
||||
1;
|
||||
1;
|
||||
|
|
Loading…
Reference in New Issue