[P4] [P4 projekt] #12: Seg fault on EXTRACT_INT32_BITS

Leskó Dániel ldani at elte.hu
Mon Sep 12 16:26:19 CEST 2016


Hát ezt jól elnéztem, köszönöm Marci a javítást.

Future feature: Ha egy nem parsolt field-et próbálunk meg elérni, arra 
adhatna a compiler valami warningot legalább. A dubug módot ki lehetne 
egészíteni úgy, hogy ne csak szöveges infókat írjon ki, hanem extra 
checkeket is elvégezzen, így segítve a hibakeresést (jelen esetben 
ugyanis én rontottam el a P4 kódot).

Dani

2016.09.12. 13:16 keltezéssel, p4-trac at plc.inf.elte.hu írta:
> #12: Seg fault on EXTRACT_INT32_BITS
> ---------------------+---------------------
>    Reporter:  lesda   |      Owner:  brmarci
>        Type:  defect  |     Status:  closed
>    Priority:  major   |  Milestone:
>   Component:  main    |    Version:
> Resolution:  fixed   |   Keywords:
> ---------------------+---------------------
> Changes (by brmarci):
>
>   * status:  new => closed
>   * resolution:   => fixed
>
>
> Comment:
>
>   Fixed in r543.
>   The IPv4 protocol number for UDP was incorrect and no UDP header parsing
>   occurred before extraction.
>



More information about the P4 mailing list