Uploaded image for project: 'l2switch'
  1. l2switch
  2. L2SWITCH-50

l2switch/arphandler/core/PacketDispatcher.java line 102: Wrong in_port in PacketOut message

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: Linux
      Platform: PC

    • 3958
    • Normal

    Description

      As per OpenFlow Spec 1.3 section A.3.7 Packet-Out Message:

      uint32_t in_port; /* Packet's input port or OFPP_CONTROLLER. */

      But floodPacket function at l2switch/arphandler/core/PacketDispatcher.java line 102 sets in_port as controllerNodeConnector which in turns sets OFPP_LOCAL instead of input port or OFPP_CONTROLLER.

      Solution:
      change sendPacketOut(payload, controllerNodeConnector, ncRef);

      to

      sendPacketOut(payload, origIngress, ncRef);

      which will set input port.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            sudeepksingh@gmail.com Sudeep Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: