Permalink
Browse files

Cleaned up NetworkConfiguration in search of problems.

Found a possible problem: skip_network_interfaces names were being
matched as substrings, changed that to startsWith().

This means the default value "tap,vmnet,vnic" now skips interfaces
named "tap0", "tap1" and "tap2", but it will allow an interface named
"etap0" (which would have been skipped before this commit).
  • Loading branch information...
1 parent c716ee0 commit 3a7cee71dfe6a15b5d1804476995aeb885f3a7eb @Raptor399 Raptor399 committed Jun 2, 2012
Showing with 205 additions and 68 deletions.
  1. +7 −0 src/main/external-resources/PMS.conf
  2. +198 −68 src/main/java/net/pms/network/NetworkConfiguration.java
@@ -99,6 +99,13 @@ auto_update = false
# interface.
network_interface =
+# Specifies a comma separated list of network interfaces to ignore when
+# scanning for a suitable network interface to attach to. This is typically
+# used to ignore virtual interfaces created by other applications.
+# Default value is "tap,vmnet,vnic", which ignores interfaces named "tap0",
+# "tap1" and "tap2", but it allows an interface named "eth0".
+skip_network_interfaces =
+
# IP Address
# ----------
# GUI Option: Force IP of the server (string)
Oops, something went wrong.

0 comments on commit 3a7cee7

Please sign in to comment.