]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/cmdline.c
port: fix unaligned access to metadata
[dpdk.git] / app / test-pmd / cmdline.c
index 952a9dfe4923384669b01aeca3f3a0aa951d6ed5..8142910d7fdc03379f0a10e47726ae500f42cd53 100644 (file)
@@ -4743,7 +4743,8 @@ cmd_link_flow_ctrl_set_parsed(void *parsed_result,
        struct cmd_link_flow_ctrl_set_result *res = parsed_result;
        cmdline_parse_inst_t *cmd = data;
        struct rte_eth_fc_conf fc_conf;
-       int rx_fc_en, tx_fc_en = 0;
+       int rx_fc_en = 0;
+       int tx_fc_en = 0;
        int ret;
 
        /*