Fixing bugs for sending OSPF packets