Skip to content

Commit

Permalink
add protocol type to graph title
Browse files Browse the repository at this point in the history
  • Loading branch information
luben committed Feb 23, 2012
1 parent 716a903 commit a9225d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bird
Expand Up @@ -66,6 +66,8 @@ sub get_stats {
given($_) {
when (/1002-(\w+)\s+(\w+)\s+.*/) {
($name, $protocol) = ($1,$2);
next unless $protocol ~~ $protocols;
$stats->{$name}->{protocol} = $protocol;
}
when (/^0001 /) {
print $bird_ctl "show protocols all\n";
Expand Down

0 comments on commit a9225d9

Please sign in to comment.