Skip to content
Browse files

Always add 'auto' interface.

Firesheep will pick first interface if backend has no primary.
  • Loading branch information...
1 parent b863c54 commit b97f34d62dc3de7623975a2b420c060db65c300e @codebutler committed
Showing with 1 addition and 5 deletions.
  1. +1 −5 xpi/chrome/content/preferences/capturePane.js
View
6 xpi/chrome/content/preferences/capturePane.js
@@ -40,11 +40,7 @@ function loadInterfaces () {
list.selectedItem = item;
}
- // If the backend can find a primary interface, add the Automatic option.
- var primary_iface = Firesheep.primaryInterface;
- if (primary_iface && primary_iface.id.length > 0) {
- addInterface('auto', 'Automatic');
- }
+ addInterface('auto', 'Automatic');
var ifaces = Firesheep.networkInterfaces;
for (var id in ifaces) {

0 comments on commit b97f34d

Please sign in to comment.
Something went wrong with that request. Please try again.