From 19d180826b78ff209b9f5d564047c1c4c51b69e6 Mon Sep 17 00:00:00 2001
From: Saurav Das <saurav.das@bigswitch.com>
Date: Mon, 27 May 2013 15:19:12 -0700
Subject: [PATCH] fixing typos

---
 .../java/net/floodlightcontroller/core/OFSwitchBase.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/net/floodlightcontroller/core/OFSwitchBase.java b/src/main/java/net/floodlightcontroller/core/OFSwitchBase.java
index 9a851e593..56b981802 100644
--- a/src/main/java/net/floodlightcontroller/core/OFSwitchBase.java
+++ b/src/main/java/net/floodlightcontroller/core/OFSwitchBase.java
@@ -142,7 +142,7 @@ public abstract class OFSwitchBase implements IOFSwitch {
     private boolean debugCountersRegistered;
     @SuppressWarnings("unused")
     private IDebugCounter ctrSwitch, ctrSwitchPktin, ctrSwitchWrite;
-    private IDebugCounter ctrSwithPktinDrops, ctrSwitchWriteDrops;
+    private IDebugCounter ctrSwitchPktinDrops, ctrSwitchWriteDrops;
 
 
     protected final static ThreadLocal<Map<IOFSwitch,List<OFMessage>>> local_msg_buffer =
@@ -1334,7 +1334,7 @@ public abstract class OFSwitchBase implements IOFSwitch {
         OFMatch match = new OFMatch();
         match.loadFromPacket(pin.getPacketData(), pin.getInPort());
         if (ofMatchCache.update(match)) {
-           ctrSwithPktinDrops.updateCounterNoFlush();
+           ctrSwitchPktinDrops.updateCounterNoFlush();
             return true;
         }
 
@@ -1408,7 +1408,7 @@ public abstract class OFSwitchBase implements IOFSwitch {
                                        "switch", stringId + "/write",
                                        "Write counter for this switch",
                                        CounterType.ALWAYS_COUNT);
-            ctrSwithPktinDrops = debugCounters.registerCounter(
+            ctrSwitchPktinDrops = debugCounters.registerCounter(
                                        "switch", stringId + "/pktin/drops",
                                        "Packet in throttle drop count",
                                        CounterType.ALWAYS_COUNT);
-- 
GitLab