mirror of https://github.com/aredn/aredn.git
Prep work for switching to procd olsrd-config will be called for both IPv4 and IPv6 executions.
Since we are not writing for IPv6 yet we exit early in the process.
This commit is contained in:
parent
c1f293a6f9
commit
2917bb0f4b
|
@ -42,6 +42,19 @@
|
|||
|
||||
use perlfunc;
|
||||
|
||||
#Check what config file we are building for
|
||||
if ( !$ARGV[0] ) {
|
||||
$UCI_CONF_FILE="olsrd";
|
||||
} else {
|
||||
$UCI_CONF_FILE=$ARGV[0];
|
||||
}
|
||||
|
||||
if ( $UCI_CONF_FILE eq "olsrd6" ) {
|
||||
# We only generate entries for IPv4 at moment"
|
||||
exit 0;
|
||||
}
|
||||
|
||||
|
||||
@names = @hosts = @services = ();
|
||||
|
||||
# canonical names for this node
|
||||
|
|
Loading…
Reference in New Issue