NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/53488: Manual changes to sbin/route/keywords.h get overwritten on regen
>Number: 53488
>Category: bin
>Synopsis: Manual changes to sbin/route/keywords.h get overwritten on regen
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 31 22:00:00 +0000 2018
>Originator: Sevan Janiyan
>Release: NetBSD-HEAD
>Organization:
>Environment:
>Description:
Changes have been made directly to keywords.h which get overwritten upon regenerating the file using keywords.sh. I'd like to remove xns from the .sh file & regenerate the .h file but unsure if the changes from the .h file should be added back to the .sh file.
Regenerating keywords.h with the current version of keywords.sh without any changes causes the follow changes in keywords.h.
Index: keywords.h
===================================================================
RCS file: /cvsroot/src/sbin/route/keywords.h,v
retrieving revision 1.14
diff -u -p -r1.14 keywords.h
--- keywords.h 4 Apr 2016 07:37:07 -0000 1.14
+++ keywords.h 31 Jul 2018 21:49:41 -0000
@@ -1,4 +1,4 @@
-/* $NetBSD: keywords.h,v 1.14 2016/04/04 07:37:07 ozaki-r Exp $ */
+/* $NetBSD$ */
/* WARNING! This file was generated by keywords.sh */
@@ -12,9 +12,8 @@ extern struct keytab {
#define K_ATALK 2
#define K_BLACKHOLE 3
#define K_CHANGE 4
-/* #define K_CLONED 5 */
-/* #define K_CLONING 6 */
-#define K_CONNECTED 6
+#define K_CLONED 5
+#define K_CLONING 6
#define K_DELETE 7
#define K_DST 8
#define K_EXPIRE 9
@@ -31,7 +30,7 @@ extern struct keytab {
#define K_INET 20
#define K_INET6 21
#define K_LINK 22
-/* #define K_LLINFO 23 */
+#define K_LLINFO 23
#define K_LOCK 24
#define K_LOCKREST 25
#define K_MASK 26
@@ -54,11 +53,10 @@ extern struct keytab {
#define K_STATIC 43
#define K_X25 44
#define K_XNS 45
-/* #define K_XRESOLVE 46 */
+#define K_XRESOLVE 46
#define K_FLUSHALL 47
-/* #define K_NOCLONED 48 */
-/* #define K_NOCLONING 49 */
-#define K_NOCONNECTED 49
+#define K_NOCLONED 48
+#define K_NOCLONING 49
#define K_NOBLACKHOLE 50
#define K_NOREJECT 51
#define K_MPLS 52
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index