Fix cut and paste error in error messages
Change-Id: Ia88a74d21a6e341deaaee04776c79c95de18834a
diff --git a/drivers/CiscoCatalyst.py b/drivers/CiscoCatalyst.py
index 75ae783..c00b830 100644
--- a/drivers/CiscoCatalyst.py
+++ b/drivers/CiscoCatalyst.py
@@ -301,7 +301,7 @@
if not self._is_port_name_valid(port):
raise IndexError("Port name %s not recognised" % port)
if not (self.port_get_mode(port) == "trunk"):
- raise IndexError("Port %s not in access mode" % port)
+ raise IndexError("Port %s not in trunk mode" % port)
regex_start = re.compile('Trunking VLANs Enabled: (.*)')
regex_continue = re.compile('\s*(\d.*)')
self._cli("show interfaces %s switchport" % port)