- gcc dies on "default: }", add a ;

- proto_register usb instead of eth.

svn path=/trunk/; revision=19542
This commit is contained in:
Jörg Mayer 2006-10-15 12:27:51 +00:00
parent d0bea0954e
commit b9582da89f
1 changed files with 2 additions and 1 deletions

View File

@ -437,6 +437,7 @@ dissect_usb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent)
break;
default:
/* dont know */
;
}
@ -556,7 +557,7 @@ proto_register_usb(void)
proto_register_field_array(proto_usb, hf, array_length(hf));
proto_register_subtree_array(usb_subtrees, array_length(usb_subtrees));
register_dissector("eth", dissect_usb, proto_usb);
register_dissector("usb", dissect_usb, proto_usb);
}
void