summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--staging/layer1.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/staging/layer1.c b/staging/layer1.c
index bf00a52..ecba7fc 100644
--- a/staging/layer1.c
+++ b/staging/layer1.c
@@ -105,7 +105,11 @@ int send_eth(void)
{
bytestring_s = str2hex (argval, bytestring, MAX_PAYLOAD_SIZE);
}
-
+ else
+ {
+ bytestring_s = str2hex (tx.arg_string, bytestring, MAX_PAYLOAD_SIZE);
+ }
+
// Set the flags to shorten subsequent decisions:
src = strlen(tx.eth_src_txt);
dst = strlen(tx.eth_dst_txt);