• Thomas Haller's avatar
    core: add assertions for network_id/stable_type · 21ae09c1
    Thomas Haller authored
    We require a network-id. Assert that it is set.
    Also, we encode the stable-id as uint8. Thus, add
    an assertion that we don't use more then 254 IDs.
    If we ever make use of stable-type 255, we must extend
    the encoding to allow for more values. The assertion
    is there to catch that.
nm-core-utils.c 119 KB