[rtems-libbsd commit] Add protocol definition
Sebastian Huber
sebh at rtems.org
Thu Apr 18 08:33:29 UTC 2013
Module: rtems-libbsd
Branch: master
Commit: fabbca40484c0609d93d99e00e746782004f3e7a
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=fabbca40484c0609d93d99e00e746782004f3e7a
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Apr 18 10:38:13 2013 +0200
Add protocol definition
---
freebsd-userspace/commands/usr.bin/netstat/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/freebsd-userspace/commands/usr.bin/netstat/main.c b/freebsd-userspace/commands/usr.bin/netstat/main.c
index b1a3776..1c2461b 100644
--- a/freebsd-userspace/commands/usr.bin/netstat/main.c
+++ b/freebsd-userspace/commands/usr.bin/netstat/main.c
@@ -550,7 +550,7 @@ static int rtems_shell_main_netstat(int argc, char *argv[])
ip6protox[i].pr_istats = NULL;
ip6protox[i].pr_name = "tcp";
ip6protox[i].pr_usesysctl = 1;
- ip6protox[i].pr_protocol = ;
+ ip6protox[i].pr_protocol = IPPROTO_TCP;
i++;
ip6protox[i].pr_index = N_UDBINFO;
ip6protox[i].pr_sindex = N_UDPSTAT;
More information about the vc
mailing list