summaryrefslogtreecommitdiff
path: root/vyatta-restricted.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-14 17:14:27 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-14 17:14:27 -0800
commitdbdda9f523efe9b335e51b4827a4c8e7699aac62 (patch)
tree206f29f19bbaec27aa1fdb115dce383da8065d50 /vyatta-restricted.h
parent10f1fb8bdfb9efedb269dbe3225102dbf992a8cf (diff)
downloadvyatta-bash-dbdda9f523efe9b335e51b4827a4c8e7699aac62.tar.gz
vyatta-bash-dbdda9f523efe9b335e51b4827a4c8e7699aac62.zip
fix for bug 2832: limit expansion checking to appropriate commands.
Diffstat (limited to 'vyatta-restricted.h')
-rw-r--r--vyatta-restricted.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vyatta-restricted.h b/vyatta-restricted.h
index fcc4b6f..0dd45bd 100644
--- a/vyatta-restricted.h
+++ b/vyatta-restricted.h
@@ -29,7 +29,7 @@
enum vyatta_restricted_type { OUTPUT, FULL };
extern int in_vyatta_restricted_mode __P((enum vyatta_restricted_type));
extern int is_vyatta_command __P((char *, COMMAND *));
-extern void vyatta_check_expansion __P((COMMAND *));
+extern void vyatta_check_expansion __P((COMMAND *, int));
extern void vyatta_reset_hist_expansion();
#endif /* _VYATTA_RESTRICTED_H_ */