protocol isis issues(續1.3----buffer_size相關)

協議號轉化

bug:
packet-socket.cc:307 SendTo()
-> point-to-point-net-device.cc:508 Send()
-> point-to-point-net-device.cc:661 EtherToPpp()
中,IPv4協議號轉換不正確

改動:packet-socket.cc:341
if (!device->Send (p, dest, ad.GetProtocol ()))改爲:
if (!device->Send (p, dest, 2048))

buffer Size超出範圍

bug:

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章