Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Allow nicstat to view net interfaces #10

Closed
wants to merge 1 commit into from

2 participants

Eric Saxby Patrick Mooney
Eric Saxby

SmartOS zones in the JPC get interfaces named net0, net1, etc. nicstat seems helpful, but does not recognize these as available interfaces.

Patrick Mooney
Owner

Merged in 5a3e37c.
Thanks

Patrick Mooney pfmooney closed this
Patrick Mooney pfmooney self-assigned this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 21, 2014
  1. Eric Saxby
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  usr/src/cmd/nicstat/nicstat.pl
2  usr/src/cmd/nicstat/nicstat.pl
View
@@ -136,7 +136,7 @@
$| = 1; # autoflush
# kstat "link" module includes:
-my @Network = qw(dmfe bge be bnx ce eri external ge hme igb ige internal ixgbe le ppp qfe rtls);
+my @Network = qw(dmfe bge be bnx ce eri external ge hme igb ige internal ixgbe le net ppp qfe rtls);
my %Network;
$Network{$_} = 1 foreach (@Network);
my $ZONENAME = `/usr/bin/zonename`;
Something went wrong with that request. Please try again.