2
0
Fork 0

fixup Nic policies

This commit is contained in:
Ehmry - 2020-12-21 00:52:58 +01:00
parent 72f4913d2b
commit 933bdfe628
1 changed files with 5 additions and 3 deletions

View File

@ -81,8 +81,8 @@ with lib;
else else
null) config.genode.init.children); null) config.genode.init.children);
in { in {
assertion = trace assertion =
clientList (clientList == [ ] || length clientList == 1); trace clientList (clientList == [ ] || length clientList == 1);
message = "Multiple routes to Nic ${name}, ${clientList}"; message = "Multiple routes to Nic ${name}, ${clientList}";
}; };
in lib.lists.concatMap in lib.lists.concatMap
@ -332,7 +332,9 @@ with lib;
, Init.ServiceRoute.parent "IO_PORT" , Init.ServiceRoute.parent "IO_PORT"
] ]
, config = Init.Config::{ , config = Init.Config::{
, policies = [ ${toString policies} ] : List Init.Config.Policy.Type , policies = [ ${
toString policies
} ] : List Init.Config.Policy.Type
} }
} }
''; '';