Re: [iproute2-next 1/1] tipc: Add support to set and get MTU for UDP bearer

2018-05-07 Thread Stephen Hemminger
On Mon, 7 May 2018 13:14:33 +0200 GhantaKrishnamurthy MohanKrishna wrote: > + struct opt *opts) > +{ > + struct opt *opt; > + > + if (!(opt = get_opt(opts, "media"))) { You don't need to have assignment in conditional context in this case. Please spli

[iproute2-next 1/1] tipc: Add support to set and get MTU for UDP bearer

2018-05-07 Thread GhantaKrishnamurthy MohanKrishna
In this commit we introduce the ability to set and get MTU for UDP media and bearer. For set and get properties such as tolerance, window and priority, we already do: $ tipc media set PPROPERTY media MEDIA $ tipc media get PPROPERTY media MEDIA $ tipc bearer set OPTION media MEDIA AR