ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] patch for BGP MDT decods

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 4 Jun 2007 07:27:13 +0200
On Sun, Jun 03, 2007 at 10:19:41PM -0400, Aamer Akhter wrote:
> Please find attached a patch for support of
> 'draft-nalawade-idr-mdt-safi'. This draft is the basis of the current
> Multicast MVPN BGP support.

What's the reason for this change:

@@ -556,7 +598,7 @@
                                                 break ;
                                         default:
                                                 length = 0 ;
-                                                g_snprintf(buf, buf_len,
+"Unknown (0x%04x) labeled VPN IPv4 address format",rd_type);
+                                                g_snprintf(buf, buf_len,
+"Unknown (0x%0x) labeled VPN IPv4 address format",rd_type);
                                                 break;
                                 }


> Also, is there an emacs settings file for conforming to the wireshark
> indentation spec?

There isn't one. Each file may have its own indentation style. We just
try to avoid having too many styles in one file :-)

Ciao
      Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.