This commit is contained in:
sysadmin75 2015-05-31 20:05:02 -04:00
parent 5658ddf02e
commit 908d6c0ef2

View file

@ -2163,7 +2163,7 @@ class DarwinNetwork(GenericBsdIfconfigNetwork, Network):
current_if['media'] = 'Unknown' # Mac does not give us this current_if['media'] = 'Unknown' # Mac does not give us this
current_if['media_select'] = words[1] current_if['media_select'] = words[1]
if len(words) > 2: if len(words) > 2:
current_if['media_type'] = words[2][1:] current_if['media_type'] = words[2][1:-1]
if len(words) > 3: if len(words) > 3:
current_if['media_options'] = self.get_options(words[3]) current_if['media_options'] = self.get_options(words[3])