]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Tell Coverity that we do need to call initstate() for IPv4LL addresses.
authorRoy Marples <roy@marples.name>
Tue, 3 May 2016 15:26:18 +0000 (15:26 +0000)
committerRoy Marples <roy@marples.name>
Tue, 3 May 2016 15:26:18 +0000 (15:26 +0000)
ipv4ll.c

index 31f1b207590d3259f9aafbb11ef1dc89dd82d1c3..8203433a59934144af6f86e79fb660a051a51f82 100644 (file)
--- a/ipv4ll.c
+++ b/ipv4ll.c
@@ -353,6 +353,7 @@ ipv4ll_start(void *arg)
                } else
                        memcpy(&seed, ifp->hwaddr + ifp->hwlen - sizeof(seed),
                            sizeof(seed));
+               /* coverity[dont_call] */
                orig = initstate(seed,
                    state->randomstate, sizeof(state->randomstate));