From 30114e0469a6fab00a41a3b0ab1cf659f58e3206 Mon Sep 17 00:00:00 2001 From: govwin Date: Thu, 22 Feb 2024 16:18:27 +0100 Subject: [PATCH] Update simple_switch_igmp.py Fix error: NameError: name 'buffer' is not defined SimpleSwitchIgmp: Exception occurred during handler processing. Backtrace from offending handler [_packet_in_handler] servicing event [EventPacketIn] follows. --- ryu/app/simple_switch_igmp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ryu/app/simple_switch_igmp.py b/ryu/app/simple_switch_igmp.py index b1b014f01..0ab1969ef 100644 --- a/ryu/app/simple_switch_igmp.py +++ b/ryu/app/simple_switch_igmp.py @@ -22,6 +22,7 @@ from ryu.lib import addrconv from ryu.lib import igmplib from ryu.lib.dpid import str_to_dpid +from ryu.ofproto.ofproto_parser import buffer class SimpleSwitchIgmp(app_manager.RyuApp):