2015-03-23 23:20 GMT+01:00 Aurélien Terrestris <[email protected]>:

> Hello
>
> when trying to commit my changes, I get this result :
>
> # git commit -m 'RRH dissector'
> epan/dissectors/packet-rrh.c:  FT_IPv6:
> proto_tree_add_item(rrh_tree, hf_rrh_ipv6, tvb, pos, 6,
> [[ENC_BIG_ENDIAN]-->[ENC_NA]]);
> epan/dissectors/packet-rrh.c:  FT_IPv6:
> proto_tree_add_item(rrh_tree, hf_rrh_ipv6, tvb, pos, 6,
> [[ENC_BIG_ENDIAN]-->[ENC_NA]]);
>
>
> And the status command says nothing was done :
>
> # git status
> On branch rrh
> Changes to be committed:
>   (use "git reset HEAD <file>..." to unstage)
>
>         modified:   epan/dissectors/Makefile.common
>         new file:   epan/dissectors/packet-rrh.c
>
> Do you have any idea of what's is going wrong ?
>
> However, compiling and running the program work fine.
>

Hi Aurélien,

the pre-commit script is indicating that you some errors need to be fixed:
for an IPv6 address, the encoding type should be ENC_NA and not
ENC_BIG_ENDIAN.
Once you fix this error, the commit will succeed.

Regards,
Pascal.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to