Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
ryu/services/vrrp/monitor.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/ryu/services/vrrp/monitor.py b/ryu/services/vrrp/monitor.py
index c1e8e60..f614bda 100644
--- a/ryu/services/vrrp/monitor.py
+++ b/ryu/services/vrrp/monitor.py
@@ -15,9 +15,9 @@
# limitations under the License.
"""
Interface monitor.
-Watching packet recevined on this interface and parse VRRP packet.
+Watching packet received on this interface and parse VRRP packet.
-RRPManager creates/deletes instances of interface monitor dynamically.
+VRRPManager creates/deletes instances of interface monitor dynamically.
"""
import contextlib
@@ -128,6 +128,12 @@ class VRRPInterfaceMonitor(app_manager.RyuApp):
# it ourselvs.
packet_ = packet.Packet(packet_data)
protocols = packet_.protocols
+
+ # we expect either of
+ # [ether, vlan, ip, vrrp{, padding}]
+ # or
+ # [ether, ip, vrrp{, padding}]
+
if len(protocols) < 2:
self.logger.debug('len(protocols) %d', len(protocols))
return
--
1.8.1.5
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel