/*
- * Copyright (c) 2009, 2010 Nicira Networks.
+ * Copyright (c) 2009, 2010 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
ph.sigfigs = 0;
ph.snaplen = 1518;
ph.network = 1; /* Ethernet */
- fwrite(&ph, sizeof ph, 1, file);
+ ignore(fwrite(&ph, sizeof ph, 1, file));
}
int
prh.ts_usec = 0;
prh.incl_len = buf->size;
prh.orig_len = buf->size;
- fwrite(&prh, sizeof prh, 1, file);
- fwrite(buf->data, buf->size, 1, file);
+ ignore(fwrite(&prh, sizeof prh, 1, file));
+ ignore(fwrite(buf->data, buf->size, 1, file));
}