summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/route/keywords.h92
-rw-r--r--sbin/route/keywords.sh6
2 files changed, 49 insertions, 49 deletions
diff --git a/sbin/route/keywords.h b/sbin/route/keywords.h
index d83ad8628a9..43cc6293a82 100644
--- a/sbin/route/keywords.h
+++ b/sbin/route/keywords.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: keywords.h,v 1.14 2005/03/30 06:02:52 henning Exp $ */
+/* $OpenBSD: keywords.h,v 1.15 2005/03/30 06:12:38 henning Exp $ */
/* WARNING! This file was generated by keywords.sh */
struct keytab {
char *kt_cp;
- int kt_i;
+ int kt_i;
};
#define K_ADD 1
@@ -53,50 +53,50 @@ struct keytab {
#define K_XRESOLVE 44
struct keytab keywords[] = {
- { "add", K_ADD },
- { "blackhole", K_BLACKHOLE },
- { "change", K_CHANGE },
- { "cloning", K_CLONING },
- { "delete", K_DELETE },
- { "dst", K_DST },
- { "expire", K_EXPIRE },
- { "flush", K_FLUSH },
- { "gateway", K_GATEWAY },
- { "genmask", K_GENMASK },
- { "get", K_GET },
- { "host", K_HOST },
- { "hopcount", K_HOPCOUNT },
- { "iface", K_IFACE },
- { "interface", K_INTERFACE },
- { "ifa", K_IFA },
- { "ifp", K_IFP },
- { "inet", K_INET },
- { "inet6", K_INET6 },
- { "ipx", K_IPX },
- { "label", K_LABEL },
- { "link", K_LINK },
- { "llinfo", K_LLINFO },
- { "lock", K_LOCK },
- { "lockrest", K_LOCKREST },
- { "monitor", K_MONITOR },
- { "mpath", K_MPATH },
- { "mtu", K_MTU },
- { "net", K_NET },
- { "netmask", K_NETMASK },
- { "nostatic", K_NOSTATIC },
- { "prefixlen", K_PREFIXLEN },
- { "proto1", K_PROTO1 },
- { "proto2", K_PROTO2 },
- { "recvpipe", K_RECVPIPE },
- { "reject", K_REJECT },
- { "rtt", K_RTT },
- { "rttvar", K_RTTVAR },
- { "sa", K_SA },
- { "sendpipe", K_SENDPIPE },
- { "show", K_SHOW },
- { "ssthresh", K_SSTHRESH },
- { "static", K_STATIC },
- { "xresolve", K_XRESOLVE },
+ { "add", K_ADD },
+ { "blackhole", K_BLACKHOLE },
+ { "change", K_CHANGE },
+ { "cloning", K_CLONING },
+ { "delete", K_DELETE },
+ { "dst", K_DST },
+ { "expire", K_EXPIRE },
+ { "flush", K_FLUSH },
+ { "gateway", K_GATEWAY },
+ { "genmask", K_GENMASK },
+ { "get", K_GET },
+ { "host", K_HOST },
+ { "hopcount", K_HOPCOUNT },
+ { "iface", K_IFACE },
+ { "interface", K_INTERFACE },
+ { "ifa", K_IFA },
+ { "ifp", K_IFP },
+ { "inet", K_INET },
+ { "inet6", K_INET6 },
+ { "ipx", K_IPX },
+ { "label", K_LABEL },
+ { "link", K_LINK },
+ { "llinfo", K_LLINFO },
+ { "lock", K_LOCK },
+ { "lockrest", K_LOCKREST },
+ { "monitor", K_MONITOR },
+ { "mpath", K_MPATH },
+ { "mtu", K_MTU },
+ { "net", K_NET },
+ { "netmask", K_NETMASK },
+ { "nostatic", K_NOSTATIC },
+ { "prefixlen", K_PREFIXLEN },
+ { "proto1", K_PROTO1 },
+ { "proto2", K_PROTO2 },
+ { "recvpipe", K_RECVPIPE },
+ { "reject", K_REJECT },
+ { "rtt", K_RTT },
+ { "rttvar", K_RTTVAR },
+ { "sa", K_SA },
+ { "sendpipe", K_SENDPIPE },
+ { "show", K_SHOW },
+ { "ssthresh", K_SSTHRESH },
+ { "static", K_STATIC },
+ { "xresolve", K_XRESOLVE },
{ 0, 0 }
};
diff --git a/sbin/route/keywords.sh b/sbin/route/keywords.sh
index a8553307e37..310f2e1fadb 100644
--- a/sbin/route/keywords.sh
+++ b/sbin/route/keywords.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: keywords.sh,v 1.13 2005/03/30 06:02:52 henning Exp $
+# $OpenBSD: keywords.sh,v 1.14 2005/03/30 06:12:38 henning Exp $
# $NetBSD: keywords.sh,v 1.2 1996/11/15 18:57:21 gwr Exp $
# @(#)keywords 8.2 (Berkeley) 3/19/94
#
@@ -77,7 +77,7 @@ echo '/* $'OpenBSD'$ */
struct keytab {
char *kt_cp;
- int kt_i;
+ int kt_i;
};
'
@@ -89,7 +89,7 @@ echo '
struct keytab keywords[] = {'
$awk '{
- printf("\t{ \"%s\", K_%s },\n", $1, $2);
+ printf("\t{ \"%s\",\tK_%s },\n", $1, $2);
}' < _keywords.t2
echo ' { 0, 0 }