chiark / gitweb /
libsystemd-dhcp: Use be32_t for IP addresses in network order.
[elogind.git] / src / libsystemd-dhcp / test-dhcp-option.c
index e2a6800..ac0b0a4 100644 (file)
@@ -198,6 +198,7 @@ static int test_options_cb(uint8_t code, uint8_t len, const uint8_t *option,
                         *descpos = -1;
         }
 
+        assert(descpos);
         assert(*descpos != -1);
 
         optcode = descoption[*descpos];