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:
parent
fd784ccaf6
commit
9aa446896e
|
|
@ -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);
|
handle = dlopen(path, RTLD_LAZY);
|
||||||
if (!handle) {
|
if (!handle) {
|
||||||
sprintf(path, lib_dir, "/libipt_%s.so", lname);
|
sprintf(path, lib_dir, "/libipt_%s.so", lname);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue