summaryrefslogtreecommitdiff
path: root/httemplate/browse/router.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse/router.cgi')
-rw-r--r--httemplate/browse/router.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/browse/router.cgi b/httemplate/browse/router.cgi
index 069ca9b20..21047d7fc 100644
--- a/httemplate/browse/router.cgi
+++ b/httemplate/browse/router.cgi
@@ -9,6 +9,7 @@
'count_query' => "SELECT count(*) from router $count_sql",
'header' => [ 'Router name',
'Address block(s)',
+ 'IP addressing',
'Action',
],
'fields' => [ 'routername',
@@ -16,10 +17,12 @@
shift->addr_block
);
},
+ sub { shift->auto_addr ? 'Automatic' : 'Manual' },
sub { 'Delete' },
],
'links' => [ [ "${p2}edit/router.cgi?", 'routernum' ],
'',
+ '',
[ "${p}misc/delete-router.html?", 'routernum' ],
],
'agent_virt' => 1,
@@ -52,4 +55,5 @@ my $count_sql = $extra_sql. ( $extra_sql =~ /WHERE/ ? ' AND' : 'WHERE' ).
'null_right' => 'Broadband global configuration',
);
+
</%init>