freifunk: DRY

This commit is contained in:
Astro 2020-04-23 18:44:40 +02:00
parent cc10aadbbb
commit 25c0c05a5a
1 changed files with 6 additions and 11 deletions

View File

@ -104,17 +104,12 @@ in {
"2a02:8106:208:5281:8000::1/64" "2a02:8106:208:5281:8000::1/64"
"fd23:42:c3d2:581:8000::1/64" "fd23:42:c3d2:581:8000::1/64"
]; ];
routes = [ { routes = map (Gateway: { routeConfig = { inherit Gateway; }; }) [
routeConfig = { # upstream1
# upstream1 "2a02:8106:208:5281::b:0"
Gateway = "2a02:8106:208:5281::b:0"; # anon1
}; "172.20.72.7"
} { ];
routeConfig = {
# anon1
Gateway = "172.20.72.7";
};
} ];
}; };
}; };
}; };