Try to make the buildbot happy.

svn path=/trunk/; revision=41684
This commit is contained in:
Anders Broman 2012-03-20 11:58:29 +00:00
parent 148c8a3a30
commit 456c7c2dc6

View file

@ -2881,27 +2881,27 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_
options_total_length = options_total_length + 8 + 4 /* options tag */ ; options_total_length = options_total_length + 8 + 4 /* options tag */ ;
} }
/*guint64 isb_ifrecv */ /*guint64 isb_ifrecv */
if (if_stats->isb_ifrecv != -1) { if (if_stats->isb_ifrecv != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
have_options = TRUE; have_options = TRUE;
options_total_length = options_total_length + 8 + 4 /* options tag */ ; options_total_length = options_total_length + 8 + 4 /* options tag */ ;
} }
/*guint64 isb_ifdrop */ /*guint64 isb_ifdrop */
if (if_stats->isb_ifdrop != -1) { if (if_stats->isb_ifdrop != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
have_options = TRUE; have_options = TRUE;
options_total_length = options_total_length + 8 + 4 /* options tag */ ; options_total_length = options_total_length + 8 + 4 /* options tag */ ;
} }
/*guint64 isb_filteraccept */ /*guint64 isb_filteraccept */
if (if_stats->isb_filteraccept != -1) { if (if_stats->isb_filteraccept != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
have_options = TRUE; have_options = TRUE;
options_total_length = options_total_length + 8 + 4 /* options tag */ ; options_total_length = options_total_length + 8 + 4 /* options tag */ ;
} }
/*guint64 isb_osdrop */ /*guint64 isb_osdrop */
if (if_stats->isb_osdrop != -1) { if (if_stats->isb_osdrop != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
have_options = TRUE; have_options = TRUE;
options_total_length = options_total_length + 8 + 4 /* options tag */ ; options_total_length = options_total_length + 8 + 4 /* options tag */ ;
} }
/*guint64 isb_usrdeliv */ /*guint64 isb_usrdeliv */
if (if_stats->isb_usrdeliv != -1) { if (if_stats->isb_usrdeliv != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
have_options = TRUE; have_options = TRUE;
options_total_length = options_total_length + 8 + 4 /* options tag */ ; options_total_length = options_total_length + 8 + 4 /* options tag */ ;
} }
@ -2980,7 +2980,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_
wdh->bytes_dumped += 8; wdh->bytes_dumped += 8;
} }
/*guint64 isb_ifrecv;*/ /*guint64 isb_ifrecv;*/
if (if_stats->isb_ifrecv != -1) { if (if_stats->isb_ifrecv != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
option_hdr.type = ISB_IFRECV; option_hdr.type = ISB_IFRECV;
option_hdr.value_length = 8; option_hdr.value_length = 8;
if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) if (!wtap_dump_file_write(wdh, &option_hdr, 4, err))
@ -2994,7 +2994,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_
wdh->bytes_dumped += 8; wdh->bytes_dumped += 8;
} }
/*guint64 isb_ifdrop;*/ /*guint64 isb_ifdrop;*/
if (if_stats->isb_ifdrop != -1) { if (if_stats->isb_ifdrop != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
option_hdr.type = ISB_IFDROP; option_hdr.type = ISB_IFDROP;
option_hdr.value_length = 8; option_hdr.value_length = 8;
if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) if (!wtap_dump_file_write(wdh, &option_hdr, 4, err))
@ -3008,7 +3008,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_
wdh->bytes_dumped += 8; wdh->bytes_dumped += 8;
} }
/*guint64 isb_filteraccept;*/ /*guint64 isb_filteraccept;*/
if (if_stats->isb_filteraccept != -1) { if (if_stats->isb_filteraccept != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
option_hdr.type = ISB_FILTERACCEPT; option_hdr.type = ISB_FILTERACCEPT;
option_hdr.value_length = 8; option_hdr.value_length = 8;
if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) if (!wtap_dump_file_write(wdh, &option_hdr, 4, err))
@ -3022,7 +3022,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_
wdh->bytes_dumped += 8; wdh->bytes_dumped += 8;
} }
/*guint64 isb_osdrop;*/ /*guint64 isb_osdrop;*/
if (if_stats->isb_osdrop != -1) { if (if_stats->isb_osdrop != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
option_hdr.type = ISB_OSDROP; option_hdr.type = ISB_OSDROP;
option_hdr.value_length = 8; option_hdr.value_length = 8;
if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) if (!wtap_dump_file_write(wdh, &option_hdr, 4, err))
@ -3036,7 +3036,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_
wdh->bytes_dumped += 8; wdh->bytes_dumped += 8;
} }
/*guint64 isb_usrdeliv;*/ /*guint64 isb_usrdeliv;*/
if (if_stats->isb_usrdeliv != -1) { if (if_stats->isb_usrdeliv != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) {
option_hdr.type = ISB_USRDELIV; option_hdr.type = ISB_USRDELIV;
option_hdr.value_length = 8; option_hdr.value_length = 8;
if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) if (!wtap_dump_file_write(wdh, &option_hdr, 4, err))