examples/ip_pipeline: fix log in link config
authorJasvinder Singh <jasvinder.singh@intel.com>
Wed, 30 Sep 2015 15:25:55 +0000 (16:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 01:35:55 +0000 (02:35 +0100)
This patch fixes bug in app_link_config.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/pipeline/pipeline_common_fe.c

index ed18f2c..87ec164 100644 (file)
@@ -358,7 +358,7 @@ app_link_config(struct app_params *app,
                if (link->ip == ip) {
                        APP_LOG(app, HIGH,
                                "%s is already assigned this IP address",
-                               p->name);
+                               link->name);
                        return -1;
                }
        }