[ovs-dev] [PATCH] util: Increase k3wlness level.

Ethan Jackson ethan at nicira.com
Tue Feb 26 01:30:15 UTC 2013


Acked-by: Ethan Jackson <ethan at nicira.com>

This has the added benefit of making it really obvious when the switch
restarted in the logs.  For that reason, I'd be in favor of backporting it
to 1.10 to aid debugging until it gets more stable.  I don't feel that
strongly about it though.




On Mon, Feb 25, 2013 at 3:08 PM, Ben Pfaff <blp at nicira.com> wrote:

> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
>  lib/util.c |    9 ++++++++-
>  1 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/lib/util.c b/lib/util.c
> index cbaffa7..5a32c50 100644
> --- a/lib/util.c
> +++ b/lib/util.c
> @@ -369,7 +369,14 @@ get_program_version(void)
>  void
>  ovs_print_version(uint8_t min_ofp, uint8_t max_ofp)
>  {
> -    printf("%s", program_version);
> +    printf(""""""""""""""  ""          ""    """"""""""
> +           ""          ""  ""          ""  ""          ""
> +           ""          ""  ""          ""  ""
> +           ""          ""  ""          ""    """"""""""
> +           ""          ""    ""      ""                ""
> +           ""          ""      ""  ""      ""          ""
> +           """"""""""""""        ""          """"""""""
> +           "%s", program_version);
>      if (min_ofp || max_ofp) {
>          printf("OpenFlow versions %#x:%#x\n", min_ofp, max_ofp);
>      }
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130225/c10a878e/attachment-0003.html>


More information about the dev mailing list