Skip to content
Snippets Groups Projects
Commit e94f98a9 authored by Srinivasan Ramasubramanian's avatar Srinivasan Ramasubramanian
Browse files

Minor changes to autoportfast default. Remove "final" to allow default to be changed, if needed.

parent 7e544c6d
No related branches found
No related tags found
No related merge requests found
...@@ -187,7 +187,7 @@ public class LinkDiscoveryManager implements IOFMessageListener, ...@@ -187,7 +187,7 @@ public class LinkDiscoveryManager implements IOFMessageListener,
* Flag to indicate if automatic port fast is enabled or not. Default is set * Flag to indicate if automatic port fast is enabled or not. Default is set
* to false -- Initialized in the init method as well. * to false -- Initialized in the init method as well.
*/ */
public final boolean AUTOPORTFAST_DEFAULT = false; protected boolean AUTOPORTFAST_DEFAULT = false;
protected boolean autoPortFastFeature = AUTOPORTFAST_DEFAULT; protected boolean autoPortFastFeature = AUTOPORTFAST_DEFAULT;
/** /**
...@@ -2046,7 +2046,7 @@ public class LinkDiscoveryManager implements IOFMessageListener, ...@@ -2046,7 +2046,7 @@ public class LinkDiscoveryManager implements IOFMessageListener,
log.debug("Event history size set to {}", EVENT_HISTORY_SIZE); log.debug("Event history size set to {}", EVENT_HISTORY_SIZE);
// Set the autoportfast feature to false. // Set the autoportfast feature to false.
this.autoPortFastFeature = false; this.autoPortFastFeature = AUTOPORTFAST_DEFAULT;
// We create this here because there is no ordering guarantee // We create this here because there is no ordering guarantee
this.linkDiscoveryAware = new ArrayList<ILinkDiscoveryListener>(); this.linkDiscoveryAware = new ArrayList<ILinkDiscoveryListener>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment