Fixed runtime errors so we can consume data from l2switch

Signed-off-by: Evan Zeller <evanrzeller@gmail.com>