{"action":"created","issue":{"url":"https://api.github.com/repos/FOGProject/fogproject/issues/128","repository_url":"https://api.github.com/repos/FOGProject/fogproject","labels_url":"https://api.github.com/repos/FOGProject/fogproject/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/FOGProject/fogproject/issues/128/comments","events_url":"https://api.github.com/repos/FOGProject/fogproject/issues/128/events","html_url":"https://github.com/FOGProject/fogproject/issues/128","id":175808043,"number":128,"title":"Question to dhcpd sample","user":{"login":"Nightreaver","id":3270156,"avatar_url":"https://avatars.githubusercontent.com/u/3270156?v=3","gravatar_id":"","url":"https://api.github.com/users/Nightreaver","html_url":"https://github.com/Nightreaver","followers_url":"https://api.github.com/users/Nightreaver/followers","following_url":"https://api.github.com/users/Nightreaver/following{/other_user}","gists_url":"https://api.github.com/users/Nightreaver/gists{/gist_id}","starred_url":"https://api.github.com/users/Nightreaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nightreaver/subscriptions","organizations_url":"https://api.github.com/users/Nightreaver/orgs","repos_url":"https://api.github.com/users/Nightreaver/repos","events_url":"https://api.github.com/users/Nightreaver/events{/privacy}","received_events_url":"https://api.github.com/users/Nightreaver/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-08T17:04:26Z","updated_at":"2016-09-24T20:59:55Z","closed_at":"2016-09-17T19:01:09Z","body":"Hello again, i've got a question regarding your sample dhcpd config.\r\n\r\nwhen I use these few lines from your sample config\r\n\r\n```\r\n    class \"Legacy\" {\r\n        match if substring(option vendor-class-identifier, 0, 20) = \"PXEClient:Arch:00000\";\r\n        filename \"undionly.kkpxe\";\r\n    }\r\n    class \"UEFI-32-2\" {\r\n        match if substring(option vendor-class-identifier, 0, 20) = \"PXEClient:Arch:00002\";\r\n        filename \"i386-efi/ipxe.efi\";\r\n    }\r\n```\r\ntftp breaks\r\n\r\nbut when I use these lines ( which do the same just in one class  I think)\r\n\r\n```\r\nclass \"pxeclient\" \r\n{\r\n                                                   \r\n    match if substring (option vendor-class-identifier, 0, 9) = \"PXEClient\";\r\n\r\n    if substring (option vendor-class-identifier, 15, 5) = \"00000\"{\r\n        filename \"undionly.kkpxe\";\r\n    }\r\n    elsif substing (option vendor-class-identifier, 15, 5) = \"00002\"{\r\n        filename \"i386-efi/ipxe.efi\";\r\n    }\r\n}\r\n```\r\n\r\nit works. I don't seen any real difference in your or my, it's just that you'rs is not working.\r\nIFor my understanding the do the same stuff in different ways.\r\n\r\nthe vendor string is ` \"PXEClient:Arch:00000\"`\r\n\r\nAny ideas why?\r\n\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/FOGProject/fogproject/issues/comments/249387323","html_url":"https://github.com/FOGProject/fogproject/issues/128#issuecomment-249387323","issue_url":"https://api.github.com/repos/FOGProject/fogproject/issues/128","id":249387323,"user":{"login":"Nightreaver","id":3270156,"avatar_url":"https://avatars.githubusercontent.com/u/3270156?v=3","gravatar_id":"","url":"https://api.github.com/users/Nightreaver","html_url":"https://github.com/Nightreaver","followers_url":"https://api.github.com/users/Nightreaver/followers","following_url":"https://api.github.com/users/Nightreaver/following{/other_user}","gists_url":"https://api.github.com/users/Nightreaver/gists{/gist_id}","starred_url":"https://api.github.com/users/Nightreaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nightreaver/subscriptions","organizations_url":"https://api.github.com/users/Nightreaver/orgs","repos_url":"https://api.github.com/users/Nightreaver/repos","events_url":"https://api.github.com/users/Nightreaver/events{/privacy}","received_events_url":"https://api.github.com/users/Nightreaver/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T20:59:55Z","updated_at":"2016-09-24T20:59:55Z","body":"Yes, you should try that, I had serious problems with multiple subnets when\nyou add the same classesto each of them, only global definition solved the\nproblem.\n\n2016-09-24 22:19 GMT+02:00 wayneworkman <notifications@github.com>:\n\n> You're talking about the ARCH classes being global? I can try it out and\n> see if it works.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/FOGProject/fogproject/issues/128#issuecomment-249385432>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ADHmDO_HeH_M_enPn5Cdk_0dEPZtMH0bks5qtYXcgaJpZM4J4OR->\n> .\n>\n"}}
{"actor":{"display_login":"Nightreaver"}}