p2: fix an inconsistency in the p2 generation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>