[PATCH] Add /usr/sbin to path when searching for iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



iptables resides in /usr/sbin on SuSE distros.  Add it to path when
searching for iptables.

Regards,
Jim

diff -ur a/configure.in b/configure.in
--- a/configure.in	2008-05-05 13:46:20.000000000 -0600
+++ b/configure.in	2008-05-05 13:43:14.000000000 -0600
@@ -217,7 +217,7 @@
    AC_DEFINE_UNQUOTED(LOKKIT_PATH, "$LOKKIT_PATH", [path to lokkit binary])
 fi
 
-AC_PATH_PROG(IPTABLES_PATH, iptables, /sbin/iptables)
+AC_PATH_PROG(IPTABLES_PATH, iptables, /sbin/iptables, [/usr/sbin:$PATH])
 AC_DEFINE_UNQUOTED(IPTABLES_PATH, "$IPTABLES_PATH", [path to iptables binary])
 
 dnl
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]