{
void * v = va_arg (*args, void *);
struct sockaddr * sa = v;
+ static u32 local_counter;
switch (sa->sa_family)
{
}
break;
+ case AF_LOCAL:
+ {
+ /*
+ * There isn't anything useful to print.
+ * The unix cli world uses the output to make a node name,
+ * so we need to return a unique name.
+ */
+ s = format (s, "local:%u", local_counter++);
+ }
+ break;
+
#ifndef __KERNEL__
#ifdef AF_NETLINK
case AF_NETLINK:
struct ethhdr * h = va_arg (*args, struct ethhdr *);
uword proto = h->h_proto;
u8 * payload = (void *) (h + 1);
- uword indent;
+ u32 indent;
/* Check for 802.2/802.3 encapsulation. */
if (proto < ETH_DATA_LEN)