Old bug on tc

> It is in current git tree.

A small fix attached after some testing.
Please dont forget to apply my other patches. When you have them let me
know so i can do some more testing.

cheers,
jamal

[TC] Get iptables path selection to set correct path

A small tweak on top of Stephens patch

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
This commit is contained in:
jamal 2007-03-07 20:40:25 -05:00 committed by Stephen Hemminger
parent fd784ccaf6
commit 9aa446896e

View File

@ -247,7 +247,7 @@ get_target_name(const char *name)
}
}
sprintf(path, lib_dir, "/libipt_%s.so", new_name);
sprintf(path, "%s/libipt_%s.so",lib_dir, new_name);
handle = dlopen(path, RTLD_LAZY);
if (!handle) {
sprintf(path, lib_dir, "/libipt_%s.so", lname);