Backward compatibility hack for ‘networking.nat.internalIPs’

This commit is contained in:
Eelco Dolstra 2012-10-16 11:28:30 -04:00
parent f4329320ab
commit 8499d7555f

View File

@ -34,6 +34,9 @@ in
coming from these networks and destined for the external
interface will be rewritten.
'';
# Backward compatibility: this used to be a single range instead
# of a list.
apply = x: if isList x then x else [x];
};
networking.nat.externalInterface = mkOption {