On Thu, Apr 20, 2023 at 03:13:20PM +0200, Dumitru Ceara wrote:
> Hi Ihar, Simon,
>
> This is not very pretty but would it improve the situation (not even
> importing scapy anymore)?
IANAL, but I would be more comfortable with this approach.
>
> fmt_pkt() {
> echo "import binascii; \
> out = binascii.hexlify(raw($1)); \
> out.decode()" | scapy -H 2> /dev/null | awk '{print $4}' |
> cut -f 2 -d "'"
> }
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev