Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/networking/udhcp/dumpleases.c

    r2725 r3232  
    33 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    44 */
     5
     6//usage:#define dumpleases_trivial_usage
     7//usage:       "[-r|-a] [-f LEASEFILE]"
     8//usage:#define dumpleases_full_usage "\n\n"
     9//usage:       "Display DHCP leases granted by udhcpd\n"
     10//usage:    IF_LONG_OPTS(
     11//usage:     "\n    -f,--file=FILE  Lease file"
     12//usage:     "\n    -r,--remaining  Show remaining time"
     13//usage:     "\n    -a,--absolute   Show expiration time"
     14//usage:    )
     15//usage:    IF_NOT_LONG_OPTS(
     16//usage:     "\n    -f FILE Lease file"
     17//usage:     "\n    -r  Show remaining time"
     18//usage:     "\n    -a  Show expiration time"
     19//usage:    )
     20
    521#include "common.h"
    622#include "dhcpd.h"
     
    5874#if ENABLE_UNICODE_SUPPORT
    5975        {
    60             char *uni_name = unicode_conv_to_printable_fixedwidth(NULL, lease.hostname, 19);
     76            char *uni_name = unicode_conv_to_printable_fixedwidth(/*NULL,*/ lease.hostname, 19);
    6177            printf(" %-16s%s ", inet_ntoa(addr), uni_name);
    6278            free(uni_name);
Note: See TracChangeset for help on using the changeset viewer.