Alexander Motin wrote:
Oleksandr Samoylyk wrote:
# ngctl show mpd24375-L-237-lt:
Name: mpd24375-L-237-lt Type: tee ID: 0008e919 Num hooks: 2
  Local hook      Peer name       Peer type    Peer ID         Peer hook
  ----------      ---------       ---------    -------         ---------
  right           mpd24375-B-607  ppp          0008e922        link0
  left            <unnamed>       pptpgre      0008e91b        upper

It's "upper". And I don't know why :(
The sources were updated before building new kernel on May, 5, 2008.
The mpd5 port was rebuilt and restarted just few hours ago.

Here is mine:
%ngctl show mpd95052-L2-4-lt:
  Name: mpd95052-L2-4-lt Type: tee             ID: 000000eb   Num hooks: 2
  Local hook      Peer name       Peer type    Peer ID         Peer hook
  ----------      ---------       ---------    -------         ---------
  right           mpd95052-B1-1   ppp          000000f0        link0
  left            <unnamed>       pptpgre      000000ed        session_b826

Have you updated your world also?

No, just kernel. Should I?

Mpd checks NG_PPTPGRE_HOOK_SESSION_F macro from 
/usr/include/netgraph/ng_pptpgre.h at the build time to detect this feature 
presence.

# cat /usr/include/netgraph/ng_pptpgre.h | grep FreeBSD:
* $FreeBSD: src/sys/netgraph/ng_pptpgre.h,v 1.9 2005/01/07 01:45:39 imp Exp $

One more way to check this feature in mpd-5.1:
Without this feature:
# grep "PPTP: can't connect to" mpd5
#
With this feature present:
# grep "PPTP: can't connect to" mpd5
Binary file mpd5 matches
#


# cd /usr/local/sbin/
# grep "PPTP: can't connect to" mpd5
#

--
 Oleksandr Samoylyk
 OVS-RIPE
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to