]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
One more temp vs. dynamic
authorMark Spencer <markster@digium.com>
Tue, 12 Oct 2004 22:02:19 +0000 (22:02 +0000)
committerMark Spencer <markster@digium.com>
Tue, 12 Oct 2004 22:02:19 +0000 (22:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3986 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 4f333694e4bb6a21c1bf9e5848348000c3dac7d0..461a8dd7a39e210cbc1b8515e7407527eadc836f 100755 (executable)
@@ -7898,7 +7898,7 @@ static int sip_devicestate(void *data)
                        res = AST_DEVICE_UNKNOWN;
        }
 
-       if (p && p->dynamic) {
+       if (p && p->temponly) {
                destroy_peer(p);
        }
        return res;