move sub out handle
parent
a602c9c564
commit
544c4f0a62
|
@ -24,6 +24,12 @@ attribution github => ['seanheaton','Sean Heaton'],
|
|||
zci answer_type => 'teredo';
|
||||
zci is_cached => 1;
|
||||
|
||||
# Params: server, port, client
|
||||
sub to_text {
|
||||
return "Teredo Server IPv4: " . $_[0]->ip() . "\nNAT Public IPv4: " . $_[2]->ip()
|
||||
. "\nClient Port: " . $_[1];
|
||||
}
|
||||
|
||||
handle remainder => sub {
|
||||
my @output = ();
|
||||
|
||||
|
@ -46,12 +52,6 @@ handle remainder => sub {
|
|||
}
|
||||
return;
|
||||
|
||||
# Params: server, port, client
|
||||
sub to_text {
|
||||
return "Teredo Server IPv4: " . $_[0]->ip() . "\nNAT Public IPv4: " . $_[2]->ip()
|
||||
. "\nClient Port: " . $_[1];
|
||||
}
|
||||
|
||||
# Params: server, port, client
|
||||
#sub to_html {
|
||||
#return "<div><span class=\"teredo__label text--secondary\">Teredo Server IPv4: </span><span class=\"text--primary\">" . $_[0]->ip()
|
||||
|
|
Loading…
Reference in New Issue