Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Also check en3 for Ethernet #8

  • Loading branch information...
commit 1f7bdc28cacc65dcbcddce98f4ed66089a388774 1 parent 1cd4099
future authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  LinkLiar/Classes/Interface.m
View
2  LinkLiar/Classes/Interface.m
@@ -32,7 +32,7 @@ + (Interface*) ethernet {
NSArray *interfaces = [self all];
for (Interface *interface in interfaces) {
BOOL isNotBluetooth = [[interface.displayName stringByReplacingOccurrencesOfString:@"tooth" withString:@""] isEqualToString:interface.displayName];
- if ([interface.kind isEqualToString:@"Ethernet"] && isNotBluetooth && ([interface.BSDName isEqualToString:@"en0"] || [interface.BSDName isEqualToString:@"en1"] || [interface.BSDName isEqualToString:@"en2"])) {
+ if ([interface.kind isEqualToString:@"Ethernet"] && isNotBluetooth && ([interface.BSDName isEqualToString:@"en0"] || [interface.BSDName isEqualToString:@"en1"] || [interface.BSDName isEqualToString:@"en2"] || [interface.BSDName isEqualToString:@"en3"])) {
//DLog(@"Identified Ethernet Interface: <%@> <%@> <%@>", interface.BSDName, interface.kind, interface.displayName);
return interface;
}
Please sign in to comment.
Something went wrong with that request. Please try again.