[ovs-git] Open vSwitch: odp-util: Print EtherTypes consistently. (master)

dev at openvswitch.org dev at openvswitch.org
Sun Jan 30 16:26:52 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  074d69f58bd9d9805e0146c8eddf3cb2e0827e8d (commit)
      from  f9ef1c31cfcd2d9ded66588a11c59e29e5aaa2ca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 074d69f58bd9d9805e0146c8eddf3cb2e0827e8d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=074d69f58bd9d9805e0146c8eddf3cb2e0827e8d
Author: Jesse Gross <jesse at nicira.com>
		
odp-util: Print EtherTypes consistently.
		
The '#' format specifier doesn't respect the field width modifier,
so EtherTypes are printed with variable length.  Zero is not a valid
EtherType so there isn't a need for the logic to dynamically insert
the 0x prefix (if the EtherType isn't specified it won't be printed
at all).  This fixes the EtherType to have the intended format and
also changes the vlan TPID to match.


-----------------------------------------------------------------------

Summary of changes:
 lib/odp-util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list