Skip to content

Commit

Permalink
Fix comments formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
slorquet committed May 19, 2017
1 parent aefddc3 commit 297844b
Show file tree
Hide file tree
Showing 18 changed files with 37 additions and 19 deletions.
3 changes: 2 additions & 1 deletion examples/bridge/bridge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ printf("NET1: Configuring %s\n", CONFIG_EXAMPLES_BRIDGE_NET1_IFNAME);
netlib_set_ipv4netmask(CONFIG_EXAMPLES_BRIDGE_NET1_IFNAME, &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/dhcpd/target.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ int dhcpd_main(int argc, char *argv[])
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/discover/discover_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ int discover_main(int argc, char *argv[])
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/ftpd/ftpd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ static void fptd_netinit(void)
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/igmp/igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ int igmp_main(int argc, char *argv[])
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
5 changes: 3 additions & 2 deletions examples/nettest/nettest.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ static void netest_initialize(void)
netlib_set_ipv6netmask("eth0",
(FAR const struct in6_addr *)g_ipv6_netmask);

/* New versions of netlib_set_ipv6addr will not bring the network up,
* So ensure the network is really up at this point. */
/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/poll/net_listener.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ static void net_configure(void)
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");
}
Expand Down
3 changes: 2 additions & 1 deletion examples/poll/net_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ static void net_configure(void)
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");
}
Expand Down
3 changes: 2 additions & 1 deletion examples/sendmail/sendmail_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ int sendmail_main(int argc, char *argv[])
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/tcpecho/tcpecho_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ static int tcpecho_netsetup()
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/telnetd/telnetd.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ static void telnetd_netinit(void)
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");
}
Expand Down
3 changes: 2 additions & 1 deletion examples/thttpd/thttpd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ int thttp_main(int argc, char *argv[])
netlib_set_ipv4netmask(NET_DEVNAME, &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/udp/target.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ int udp_main(int argc, char *argv[])
#endif /* CONFIG_EXAMPLES_UDP_IPv6 */

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/udpblaster/udpblaster_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ static void netest_initialize(void)
#endif /* CONFIG_EXAMPLES_UDPBLASTER_IPv6 */

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/webserver/webserver_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ int webserver_main(int argc, char *argv[])
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/wget/wget_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ int wget_main(int argc, char *argv[])
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion examples/xmlrpc/xmlrpc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ static int xmlrpc_netinit(void)
netlib_set_ipv4netmask("eth0", &addr);

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down
3 changes: 2 additions & 1 deletion nshlib/nsh_netinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ static void nsh_netinit_configure(void)
#endif

/* New versions of netlib_set_ipvXaddr will not bring the network up,
* So ensure the network is really up at this point. */
* So ensure the network is really up at this point.
*/

netlib_ifup("eth0");

Expand Down

0 comments on commit 297844b

Please sign in to comment.