mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Compare mbuf pointer to NULL rather than to 0.
No functional change. MFC after: 2 weeks
This commit is contained in:
parent
b1ce89f2bc
commit
7af7c754e4
1 changed files with 1 additions and 1 deletions
|
|
@ -788,7 +788,7 @@ udp6_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr6,
|
|||
* for UDP and IP6 headers.
|
||||
*/
|
||||
M_PREPEND(m, hlen + sizeof(struct udphdr), M_NOWAIT);
|
||||
if (m == 0) {
|
||||
if (m == NULL) {
|
||||
error = ENOBUFS;
|
||||
goto release;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue