Changeset 145a821 in rtems-libbsd


Ignore:
Timestamp:
Apr 26, 2017, 7:38:50 AM (2 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
fd86c091b97759106da7355ce1dd81ebe030e285, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
43c65f5
Parents:
334019d
git-author:
Chris Johns <chrisj@…> (04/26/17 07:38:50)
git-committer:
Chris Johns <chrisj@…> (04/26/17 07:43:19)
Message:

rc_conf: Minor clean up in the net services.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/rtems/rtems-bsd-rc-conf-net.c

    r334019d r145a821  
    661661
    662662    memset(&sin, 0, sizeof(sin));
     663    memset(&rti_info[0], 0, sizeof(rti_info));
    663664    sin.sin_family = AF_INET;
    664     inet_pton(AF_INET, "0.0.0.0.", &sin.sin_addr);
     665    inet_pton(AF_INET, "0.0.0.0", &sin.sin_addr);
    665666
    666667    r = rtems_get_route(&sin, rti_info);
     
    723724    return -1;
    724725
    725   show_result("hostname",    hostname(rc_conf, aa));
     726  show_result("hostname", hostname(rc_conf, aa));
    726727
    727728  r = interfaces(rc_conf, aa);
Note: See TracChangeset for help on using the changeset viewer.