From frf@crux.tesco-stores.cz  Sun Nov  9 11:28:46 1997
Received: from ns.tesco-stores.cz ([194.228.14.253])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA29775
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 Nov 1997 11:28:42 -0800 (PST)
          (envelope-from frf@crux.tesco-stores.cz)
Received: from crux.tesco-stores.cz (nis6.cesnet.cz [194.108.107.214]) by ns.tesco-stores.cz (8.8.2/8.8.2) with ESMTP id UAA31892 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 Nov 1997 20:23:27 +0100
Received: (from frf@localhost)
	by crux.tesco-stores.cz (8.8.7/8.8.7) id UAA01457;
	Sun, 9 Nov 1997 20:24:52 +0100 (CET)
Message-Id: <199711091924.UAA01457@crux.tesco-stores.cz>
Date: Sun, 9 Nov 1997 20:24:52 +0100 (CET)
From: frf@xocolatl.com
Reply-To: frf@xocolatl.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: ppp retains old phone number after loading new profile
X-Send-Pr-Version: 3.2

>Number:         4993
>Category:       bin
>Synopsis:       ppp retains old phone number after loading new profile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  9 11:30:03 PST 1997
>Closed-Date:    Sun Nov 9 14:56:56 PST 1997
>Last-Modified:  Sun Nov  9 14:58:22 PST 1997
>Originator:     frf
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

3.0-CURRENT FreeBSD 3.0-CURRENT #0:
Sun Nov  9 04:53:27 CET 1997

>Description:

ppp uses phone number from prior profile after loading a new profile,
but only the first time.


>How-To-Repeat:

# lines starting with # are my comments.
# Lines starting in col 0 are prompts.
# Lined indented are program output.

# Define multiple profiles in ppp.conf.

# Start it up with profile 1
root@crux: 8 > ppp work
        User Process PPP. Written by Toshiharu OHNO.
        Using interface: tun0
        Interactive mode

# Dail from profile 1

ppp ON crux> dial
        Dial attempt 1 of 1
        Phone: 24227488
        Warning: DialModem: dial failed.

# Number's busy. 
# Show "work" profile

ppp ON crux> show modem
        device: /dev/cuaa0  speed: 115200
        cs8, no parity, CTS/RTS on.
        connect count: 1
        outqlen: 0
        DialScript  = ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" ATE1Q0X3
        	      OK-AT-OK \dATDP\T TIMEOUT 60 CONNECT
        LoginScript = TIMEOUT 5 name:--name: xxx word: xxx raha> ppp
        PhoneNumber(s) = 24227488|22003242

# Load "play" profile

ppp ON crux> load play
ppp ON crux> show modem
        device: /dev/cuaa0  speed: 115200
        cs8, no parity, CTS/RTS on.
        connect count: 1
        outqlen: 0
        DialScript  = ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" ATE1Q0X3
        	      OK-AT-OK \dATDP\T TIMEOUT 60 CONNECT
        LoginScript = TIMEOUT 5 name:--name: xxx word: xxx NET> ppp

# Phone number displayed is correct.

        PhoneNumber(s) = 24221174
ppp ON crux> dial
        Dial attempt 1 of 1

# Number dialed is wrong
# Second phone number of profile work
        Phone: 22003242

# Break out of dial attempt with wrong number and dial again.

^Cppp ON crux> dial
        Dial attempt 1 of 1
        Phone: 24221174
        dial OK!
        login OK!
ppp ON crux> Packet mode.
ppp ON crux> 
PPP ON crux> 
PPP ON crux> show version
        PPP Version 1.3 - $Date: 1997/10/29 01:19:51 $ 
PPP ON crux> 

>Fix:
Unknown

-- frf@xocolatl.com            Currently on assignment at tesco-stores.cz

 There's no point in being grown up if you can't be childish sometimes.
 		-- Dr. Who
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Sun Nov 9 14:56:56 PST 1997 
State-Changed-Why:  
Fixed with command.c 1.96.  I'll update http://www.freebsd.org/~brian 
in a few days.  2.2-STABLE won't be updated for a while. 


Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Sun Nov 9 14:56:56 PST 1997 
Responsible-Changed-Why:  
Ppp's mine 
>Unformatted:
