Changeset ce1836e in mainline for uspace/app/inet/inet.c


Ignore:
Timestamp:
2012-05-15T19:51:06Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2bd578a
Parents:
6df2202 (diff), bf9e6fc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge renaming and other improvements.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/inet/inet.c

    r6df2202 rce1836e  
    2727 */
    2828
    29 /** @addtogroup inetcfg
     29/** @addtogroup inet
    3030 * @{
    3131 */
     
    4343#include <sys/types.h>
    4444
    45 #define NAME "inetcfg"
     45#define NAME "inet"
    4646
    4747static void print_syntax(void)
     
    187187        rc = inetcfg_addr_create_static(aobj_name, &naddr, link_id, &addr_id);
    188188        if (rc != EOK) {
    189                 printf(NAME ": Failed creating static address '%s' (%d)\n",
    190                     aobj_name, rc);
     189                printf(NAME ": Failed creating static address '%s' (%s)\n",
     190                    aobj_name, str_error(rc));
    191191                return EIO;
    192192        }
     
    345345
    346346        printf("Configured addresses:\n");
    347 
     347        if (count > 0)
     348                printf("    [Addr/Width] [Link-Name] [Addr-Name] [Def-MTU]\n");
    348349        ainfo.name = linfo.name = astr = NULL;
    349350
     
    415416
    416417        printf("Static routes:\n");
     418        if (count > 0)
     419                printf("    [Dest/Width] [Router-Addr] [Route-Name]\n");
    417420
    418421        srinfo.name = dest_str = router_str = NULL;
Note: See TracChangeset for help on using the changeset viewer.