summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/bundle.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-10-27 22:53:22 +0000
committerbrian <brian@FreeBSD.org>1998-10-27 22:53:22 +0000
commit4e483e71e2e95ad274f3a88b0cc7cdf1d5290bc5 (patch)
tree1fee5c906f35334ee2892371474e20579f6e1608 /usr.sbin/ppp/bundle.h
parent2b23dbce042044ec20c571600164b14b7d6d6543 (diff)
downloadFreeBSD-src-4e483e71e2e95ad274f3a88b0cc7cdf1d5290bc5.zip
FreeBSD-src-4e483e71e2e95ad274f3a88b0cc7cdf1d5290bc5.tar.gz
Add ``set proctitle'' for changing argv[0]. All substitutions
are done in the same way as command execution. For example, ``set proctitle USER INTERFACE PROCESSID'' would be useful in a -direct profile for identifying who's connected.
Diffstat (limited to 'usr.sbin/ppp/bundle.h')
-rw-r--r--usr.sbin/ppp/bundle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/bundle.h b/usr.sbin/ppp/bundle.h
index 2f3c53d..f746c47 100644
--- a/usr.sbin/ppp/bundle.h
+++ b/usr.sbin/ppp/bundle.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bundle.h,v 1.16 1998/10/26 19:07:38 brian Exp $
+ * $Id: bundle.h,v 1.17 1998/10/26 19:07:42 brian Exp $
*/
#define PHASE_DEAD 0 /* Link is dead */
@@ -59,6 +59,8 @@ struct bundle {
struct descriptor desc; /* really all our datalinks */
int unit; /* The device/interface unit number */
const char **argv; /* From main() */
+ const char *argv0; /* Original */
+ const char *argv1; /* Original */
struct {
char Name[20]; /* The /dev/XXXX name */
OpenPOWER on IntegriCloud