01/07/2022 12:37, huzaifa.rahman: > Bugzilla ID: 802 > > The ipv4_multicast example does not work with any multicast IPs. > Only a selected few IPs are allowed to send pakcets. These IPs > are listed in an mcast_group_table array along with their respective > port masks. A normal user would not know about this behaviour since > there is no mention of it in the docs > > Added the mcast_group_table in the docs so user would know which > IPs are allowed. > > Signed-off-by: huzaifa.rahman <huzaifa.rah...@emumba.com> > --- > +.. literalinclude:: ../../../examples/ipv4_multicast/main.c > + :language: c > + :start-after: Create the mcast group table. 8< > + :end-before: >8 End of create mcast group table.
No need to add artificial comments. The following works fine: :start-after: mcast_group_table :end-before: }; Applied with above simplification, thanks.