Wow, what a mess. Appparently there are at least three variants of BS170 pinout on the market but all of them are called BS170. What a betrayal by the semiconductor manufacturers.
To DF6MZ:
Manuel's design calls for DSG. Edit2: Or maybe not, see the post below. Pin 3 is grounded.