freifunk: DRY
This commit is contained in:
parent
cc10aadbbb
commit
25c0c05a5a
|
@ -104,17 +104,12 @@ in {
|
|||
"2a02:8106:208:5281:8000::1/64"
|
||||
"fd23:42:c3d2:581:8000::1/64"
|
||||
];
|
||||
routes = [ {
|
||||
routeConfig = {
|
||||
# upstream1
|
||||
Gateway = "2a02:8106:208:5281::b:0";
|
||||
};
|
||||
} {
|
||||
routeConfig = {
|
||||
# anon1
|
||||
Gateway = "172.20.72.7";
|
||||
};
|
||||
} ];
|
||||
routes = map (Gateway: { routeConfig = { inherit Gateway; }; }) [
|
||||
# upstream1
|
||||
"2a02:8106:208:5281::b:0"
|
||||
# anon1
|
||||
"172.20.72.7"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user