summaryrefslogtreecommitdiff
path: root/dissector_sll.c
diff options
context:
space:
mode:
authorNick Grauel <nicolas.grauel@plexxi.com>2018-05-30 23:42:15 -0400
committerTobias Klauser <tklauser@distanz.ch>2018-05-31 16:38:01 +0200
commit3f26829394ea6cece4db3bae9ea0ce456c3f7ce9 (patch)
treee38f79d6a7b1dd8bd8a461ac43f342c2ead139f1 /dissector_sll.c
parentf8665d43b8e1e33a92b7529d49e3e8c8b1c3c586 (diff)
mausezahn: Restore handling of raw hex string passed in on command line
Originally all hex strings (whether they were given on the command line or in a file) were handled by a call to str2hex(): bytestring_s = str2hex (tx.arg_string, bytestring, MAX_PAYLOAD_SIZE); Commit f634c74 added code to parse out "payload=" or "p=" flags that may have been added at the start of the hex string. This code also changed the logic around this str2hex() call to only call the function and populate bytestring_s if one of these flags was found. This broke the ability to pass in a raw hex string on the command line since it fails the check and bytestring_s is never populated with the hex bytes. I've added an else condition to make the str2hex() call using the old method in cases where no "payload=" or "p=" flags are found. Signed-off-by: Nick Grauel <nicolas.grauel@plexxi.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'dissector_sll.c')
0 files changed, 0 insertions, 0 deletions
c RDMA/qedr: Fix RDMA CM loopback RDMA/qedr: Fix formatting RDMA/qedr: Mark three functions as static RDMA/qedr: Don't reset QP when queues aren't flushed RDMA/qedr: Don't spam dmesg if QP is in error state RDMA/qedr: Remove CQ spinlock from CM completion handlers RDMA/qedr: Return max inline data in QP query result RDMA/qedr: Return success when not changing QP state RDMA/qedr: Add uapi header qedr-abi.h RDMA/qedr: Fix MTU returned from QP query RDMA/core: Add the function ib_mtu_int_to_enum IB/vmw_pvrdma: Fix incorrect cleanup on pvrdma_pci_probe error path IB/vmw_pvrdma: Don't leak info from alloc_ucontext IB/cxgb3: fix misspelling in header guard ...
Diffstat (limited to 'tools/hv/hv_vss_daemon.c')