fixed datapath_id data structure (refs: #2)